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
claude-opus-4.7 via GitHub Copilot fails with thinking.type.enabled not supported #23500
When using claude-opus-4.7 via the GitHub Copilot provider with a reasoning variant (high or max), the request fails with:
"thinking.type.enabled" is not supported for this model. Use "thinking.type.adaptive" and "output_config.effort" to control thinking behavior.
Root Cause
In packages/opencode/src/provider/transform.ts, the isAnthropicAdaptive check determines whether a model should use thinking.type=adaptive (new API) vs thinking.type=enabled (legacy API):
These issues are closed; if the fix hasn't landed yet or has regressed, please note that in a comment on one of those threads or confirm this is a regression.
Activity
github-actions commentedon Apr 20, 2026
This issue might be a duplicate of existing issues. Please check:
thinking.type.enabled is not supportedfor Claude Opus 4.7 via GitHub Copilot with reasoning variantsthinking.type.enablednot supported)These issues are closed; if the fix hasn't landed yet or has regressed, please note that in a comment on one of those threads or confirm this is a regression.
rekram1-node commentedon Apr 26, 2026
fixed by:
#23223