Moonshot provider documentation references a deprecated model, setup fails per doc recommendations
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 12
- Forks
- 52
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 32
Description
Take a look at https://docs.openhands.dev/openhands/usage/llms/moonshot and notice the model recommendation for the moonshot provider is "moonshot/kimi-k2-0711-preview". If you pass this in to "Custom Model" on boot or on settings, liteLLM proxy throws "Not found the model kimi-k2-0711-preview or Permission denied".
Moonshot docs + curling https://api.moonshot.ai/v1/models gives
{"object":"list","data":[{"created":1784267407,"id":"kimi-k2.7-code-highspeed","object":"model","owned_by":"moonshot","permission":[{"created":0,"id":"","object":"","organization":"moonshot","group":"moonshot","is_blocking":false}],"root":"","parent":"","supports_image_in":true,"supports_video_in":true,"supports_reasoning":true,"context_length":262144},{"created":1784267407,"id":"kimi-k3","object":"model","owned_by":"moonshot","permission":[{"created":0,"id":"","object":"","organization":"staff","group":"staff","is_blocking":false}],"root":"","parent":"","supports_image_in":true,"supports_video_in":true,"supports_reasoning":true,"supports_dynamic_tools":true,"think_efforts":{"support":true,"valid_efforts":["max"],"default_effort":"max"},"reasoning_efforts":{"support":true,"valid_efforts":["max"],"default_effort":"max"},"supports_thinking_type":"only","context_length":1048576},{"created":1784267407,"id":"kimi-k2.6","object":"model","owned_by":"moonshot","permission":[{"created":0,"id":"","object":"","organization":"moonshot","group":"moonshot","is_blocking":false}],"root":"","parent":"","supports_image_in":true,"supports_video_in":true,"supports_reasoning":true,"context_length":262144},{"created":1784267407,"id":"kimi-k2.7-code","object":"model","owned_by":"moonshot","permission":[{"created":0,"id":"","object":"","organization":"moonshot","group":"moonshot","is_blocking":false}],"root":"","parent":"","supports_image_in":true,"supports_video_in":true,"supports_reasoning":true,"context_length":262144}]}
Need to modify docs to only include these models.
Proposed Solution
Update docs at https://docs.openhands.dev/openhands/usage/llms/moonshot to reflect actual set of models exposed by moonshot. Update recommended model to "kimi-k3" because best on benchmarks and then add a list of exposed models:
- kimi-k3
- kimi-k2.7-code
- kimi-k2.7-code-highspeed
- kimi-k2.6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the Moonshot provider page at docs.openhands.dev/openhands/usage/llms/moonshot and inspect its current model recommendation. Replace the recommendation with kimi-k3 and list the four models exposed by Moonshot: kimi-k3, kimi-k2.7-code, kimi-k2.7-code-highspeed, and kimi-k2.6. Done means the page no longer recommends the deprecated model and documents only these models.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 88/100