anomalyco / anomalyco/opencode
Truncated model response for OpenCode Go models
@fwang is already working on this.
Since Aug 10, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Today, many OpenCode Go models interrupt their response mid-stream. I've observed this for DeepSeek-V4-Pro, Kimi-K3 and MiMo-V2-Pro. Other users report this issue for DeepSeek-V4-Flash.
I am using the streaming API with my own client, so this is a server issue. I did not see any suspicious streaming packages in terms of "data: ..." chat.completion.chunks. The server simply closes the HTTP connection mid-stream. This also happens in the middle of tool calls, which results in invalid JSON.
The following issues are somewhat related, but not quite the same:
- DeepSeek-v4-Flash-free model, not with paid subscription
- gpt-5.6-luna
Plugins
NA
OpenCode version
NA
Steps to reproduce
- Use any model
- Write a prompt that results in a long response
- Response stops after 3 to 5 minutes
Screenshot and/or share link
Incomplete reasoning
Incomplete tool call
Operating System
NA
Terminal
NA
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.
Assessment
This issue has not been assessed yet.