Skip to content

400 Error using ZenMux with Kimi K2.5: "reasoning_content is missing" #15197

Closed as not planned

Description

@Vwings

Description

Provider: ZenMux
Model: Kimi K2.5
Error Message:
{"code":"400","type":"invalid_params","message":"thinking is enabled but reasoning_content is missing in assistant tool call message at index 2"}}

Plugins

No response

OpenCode version

1.2.15

Steps to reproduce

  1. Configure opencode to use ZenMux provider
  2. Select model: Kimi K2.5
  3. Send the following prompt to trigger codebase analysis: what's going on in this project

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. github-actions commented on Feb 26, 2026

    @github-actions
    Contributor

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

    If your issue is distinct from the above, please add a note explaining the difference.

  2. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Feb 26, 2026
  3. OpeOginni commented on Feb 26, 2026

    @OpeOginni
    Contributor

    @Vwings based on this previous solution #12090 (comment), could you try adding this to the model config in your opencode.json?

     "provider": {
        "zenmux": {
          "models": {
            "moonshotai/kimi-k2.5": {
              "options": {
                 "thinking": {
                    "type": "enabled",
                    "budgetTokens": 16000 // this is required for ai sdk even tho it doesnt do anything in actuality
                  }
              }
            }
          }
        }
      }
  4. Vwings commented on Feb 27, 2026

    @Vwings
    Author

    @Vwings based on this previous solution #12090 (comment), could you try adding this to the model config in your opencode.json?

    "provider": {
    "zenmux": {
    "models": {
    "moonshotai/kimi-k2.5": {
    "options": {
    "thinking": {
    "type": "enabled",
    "budgetTokens": 16000 // this is required for ai sdk even tho it doesnt do anything in actuality
    }
    }
    }
    }
    }
    }

    Tried that, but the issue persists with the exact same error message.

  5. github-actions commented on Apr 29, 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

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)windows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions