You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
400 Error using ZenMux with Kimi K2.5: "reasoning_content is missing" #15197
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
Configure opencode to use ZenMux provider
Select model: Kimi K2.5
Send the following prompt to trigger codebase analysis: what's going on in this project
@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
}
}
}
}
}
}
@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.
Activity
github-actions commentedon Feb 26, 2026
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.
OpeOginni commentedon Feb 26, 2026
@Vwings based on this previous solution #12090 (comment), could you try adding this to the model config in your
opencode.json?Vwings commentedon Feb 27, 2026
Tried that, but the issue persists with the exact same error message.
github-actions commentedon Apr 29, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.