MoonshotAI / MoonshotAI/kimi-cli
LLM provider error: Error code: 400
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.4k
- Forks
- 1.3k
- Avg merge
- 9h 47m
- Merged PRs (30d)
- 2
Description
What version of Kimi Code CLI is running?
1.44.0
Which open platform/subscription were you using?
/login
Which model were you using?
No response
What platform is your computer?
No response
What issue are you seeing?
• Used ReadMediaFile (public/favicon.ico)
LLM provider error: Error code: 400 - {'error': {'message': 'Invalid request: unsupported image format: image/x-icon', 'type': 'invalid_request_error'}}
If this persists, run kimi export and send the exported data to support for assistance. Please do not share the exported file publicl
What steps can reproduce the bug?
What is the expected behavior?
No response
Additional information
No response
Contributor guide
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
Start by reproducing the ReadMediaFile call with public/favicon.ico and trace how the CLI handles the image before sending it to the LLM provider. No source file or test is named in the report. Done means the same .ico input no longer produces an unsupported image format 400 error, with coverage for this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100