spacedriveapp / spacedriveapp/spacebot
[bug] Error since 0.4.x with Kimi K2.5 models
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.4k
- Forks
- 367
- PR merge metrics
- No merged PRs in 30d
Description
Since 0.4.x i got this error using opencode-go/kimi-k2.5 model. It is not in all the requests, just some of them (I guess is when the model doesn't provide thinking content
I encountered an error: CompletionError: ProviderError: OpenCode Go API error (400 Bad Request: Provider returned error (upstream provider Moonshot AI: {"error":{"message":"thinking is enabled but reasoning_content is missing in assistant tool call message at index 6","type":"invalid_request_error"}}))
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
The report names no source file or test. Start by reproducing the intermittent failure with the opencode-go/kimi-k2.5 model, then trace the request handling around assistant tool-call messages and missing reasoning content. Done means the affected requests no longer produce the reported 400 error and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Domain
- ai, api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100