anomalyco / anomalyco/opencode
mimo-v2.5 (opencode-go) tool calls fail with "upstream response contained invalid tool calls
Open
@fwang is already working on this.
Since Aug 18, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
When the model is switched to opencode-go/mimo-v2.5 (also reproducible with opencode-go/mimo-v2.5-pro), any
prompt that requires tool calling fails almost immediately with:
stream disconnected before completion: upstream response contained invalid tool calls
Plugins
No response
OpenCode version
2.14.0
Steps to reproduce
- Point Codex at the opencodex gateway (http://127.0.0.1:10100/v1).
- Select opencode-go/mimo-v2.5 (e.g. via /model).
- Ask it to do anything that requires a tool call (run a command, edit a file, use apply_patch, etc.).
- Observe the stream disconnects with the error above.
Screenshot and/or share link
Operating System
Windows11
Terminal
Windows PowerShell
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.