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
The provider error is caused by tool schema incompatibility, not by prompt failure. #24158
Relevant error:
Invalid request: tools.function.parameters is not a valid moonshot flavored json schema, details: <At path 'properties.variantOptions': conflicting keywords found after $ref expansion: description>
Diagnosis:
OpenCode is sending a function/tool JSON schema that Moonshot AI rejects with HTTP 400.
This appears to be a provider compatibility issue involving tool/function parameters schema, specifically around properties.variantOptions and description after $ref expansion.
Plugins
No response
OpenCode version
1.14.22
Steps to reproduce
/connect
insert my API from opencode
/models
pick Kimi k2.5 from GO package
try any prompt -> receive a Error from provider: Provider returned error
These issues describe the same or closely related Kimi/Moonshot provider errors during tool calling. Please review them and comment there if your issue is the same, or clarify what is different about your report.
Activity
github-actions commentedon Apr 24, 2026
This issue might be a duplicate of existing issues. Please check:
These issues describe the same or closely related Kimi/Moonshot provider errors during tool calling. Please review them and comment there if your issue is the same, or clarify what is different about your report.
rekram1-node commentedon Apr 28, 2026
I merged a fix may not fix it 100% yet but let's discuss further if you are still getting this error on latest