Skip to content

mimo-v2.5 (opencode-go) tool calls fail with "upstream response contained invalid tool calls #43185

Closed as not planned

Description

@zarahao

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

  1. Point Codex at the opencodex gateway (http://127.0.0.1:10100/v1).
  2. Select opencode-go/mimo-v2.5 (e.g. via /model).
  3. Ask it to do anything that requires a tool call (run a command, edit a file, use apply_patch, etc.).
  4. Observe the stream disconnects with the error above.

Screenshot and/or share link

Image

Operating System

Windows11

Terminal

Windows PowerShell

Activity

  1. github-actions commented on Aug 18, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is the same root cause, consider adding a comment there instead.

  2. zarahao commented on Aug 21, 2026

    @zarahao
    Author

    这个PR可能解决这个400错误:#32966

  3. github-actions commented on Oct 21, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions