Skip to content

fix(ai): handle OpenCode reasoning params#5196

Merged
badlogic merged 1 commit into
mainfrom
fix/opencode-thinking-requests
May 29, 2026
Merged

fix(ai): handle OpenCode reasoning params#5196
badlogic merged 1 commit into
mainfrom
fix/opencode-thinking-requests

Conversation

@mitsuhiko

Copy link
Copy Markdown
Member

Clanker thinks this fixes #5169 and more.

@badlogic badlogic added the inprogress Issue is being worked on label May 29, 2026
@badlogic badlogic merged commit 01a8c2d into main May 29, 2026
3 checks passed
@badlogic

Copy link
Copy Markdown
Collaborator

Follow-up pushed in ba2d313.

The original fix only covered opencode-go/kimi-k2.6; the interactive repro was using opencode/kimi-k2.6, which still generated reasoning_effort: "minimal". The generator now applies the Kimi K2.6 DeepSeek-style thinking compat override to both OpenCode providers, and regenerated model metadata no longer sends reasoning_effort for that model.

npm run check passes.

This comment is AI-generated by pi.

@mitsuhiko mitsuhiko deleted the fix/opencode-thinking-requests branch May 29, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inprogress Issue is being worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kimi-K2.6 on Opencode is broken with v0.77.0

2 participants