MoonshotAI / MoonshotAI/kimi-code
接入第三方模型,点击中断任务后,无法继续重启
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
What version of Kimi Code is running?
0.34.0
Which open platform/subscription were you using?
kimi code
Which model were you using?
DeepSeek v4 flash官方
What platform is your computer?
No response
What issue are you seeing?
模型请求失败,本轮对话已中断
400 Invalid assistant message: content or tool_calls must be set
provider.api_error · HTTP 400
What steps can reproduce the bug?
接入DeepSeek模型,工作一半点停止,再重新对话
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
Reproduce the issue in Kimi Code 0.34.0 by connecting the DeepSeek model, stopping an in-progress task, and continuing the conversation. Trace the interruption and restart flow around the reported 400 Invalid assistant message error; done means the interrupted conversation can be restarted without this validation failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100