Regression in v1.1.42: Copilot Claude Opus variants show low/medium/high and thinking disabled #7987

Closed
opened 2026-02-16 18:08:51 -05:00 by yindo · 2 comments
Owner

Originally created by @jlrosende on GitHub (Jan 29, 2026).

Originally assigned to: @thdxr on GitHub.

Summary

Upgrading from v1.1.41 to v1.1.42 changes the TUI variant list for github-copilot/claude-opus-4.5 to low/medium/high and disables thinking. v1.1.41 shows high/max with thinking. This looks like a regression.

Steps to reproduce

  1. Install opencode v1.1.41.
  2. Open the TUI.
  3. Select model github-copilot/claude-opus-4.5.
  4. Observe variants: high/max (thinking enabled).
  5. Upgrade to opencode v1.1.42 and repeat steps 2–3.

Actual

TUI variants rotate low/medium/high and thinking is disabled for github-copilot/claude-opus-4.5.

Expected

TUI variants should be limited to high/max with thinking enabled for Copilot Claude Opus.

Regression window

  • v1.1.41: OK
  • v1.1.42: broken

Suspected root cause

In v1.1.42, packages/opencode/src/plugin/copilot.ts removed the Claude special‑case and now forces model.api.npm = "@ai-sdk/github-copilot" for all Copilot models.
packages/opencode/src/provider/transform.ts selects variants based on model.api.npm; @ai-sdk/github-copilot maps to low/medium/high while @ai-sdk/anthropic maps to high/max (thinking). This likely causes the regression for Copilot Claude models.

Environment

  • opencode: v1.1.41 vs v1.1.42
  • provider: github-copilot
  • model: github-copilot/claude-opus-4.5
Originally created by @jlrosende on GitHub (Jan 29, 2026). Originally assigned to: @thdxr on GitHub. ## Summary Upgrading from v1.1.41 to v1.1.42 changes the TUI variant list for `github-copilot/claude-opus-4.5` to `low/medium/high` and disables thinking. v1.1.41 shows `high/max` with thinking. This looks like a regression. ## Steps to reproduce 1. Install opencode v1.1.41. 2. Open the TUI. 3. Select model `github-copilot/claude-opus-4.5`. 4. Observe variants: `high/max` (thinking enabled). 5. Upgrade to opencode v1.1.42 and repeat steps 2–3. ## Actual TUI variants rotate `low/medium/high` and thinking is disabled for `github-copilot/claude-opus-4.5`. ## Expected TUI variants should be limited to `high/max` with thinking enabled for Copilot Claude Opus. ## Regression window - v1.1.41: OK - v1.1.42: broken ## Suspected root cause In v1.1.42, `packages/opencode/src/plugin/copilot.ts` removed the Claude special‑case and now forces `model.api.npm = "@ai-sdk/github-copilot"` for all Copilot models. `packages/opencode/src/provider/transform.ts` selects variants based on `model.api.npm`; `@ai-sdk/github-copilot` maps to `low/medium/high` while `@ai-sdk/anthropic` maps to `high/max` (thinking). This likely causes the regression for Copilot Claude models. ## Environment - opencode: v1.1.41 vs v1.1.42 - provider: github-copilot - model: github-copilot/claude-opus-4.5
yindo closed this issue 2026-02-16 18:08:51 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 29, 2026):

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

  • #11140: Anthropic models stopped thinking with GitHub Copilot provider - uses GPT-style budget levels instead

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 29, 2026): This issue might be a duplicate of existing issues. Please check: - #11140: Anthropic models stopped thinking with GitHub Copilot provider - uses GPT-style budget levels instead Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Jan 29, 2026):

Yeah this was intentional I have to go back to completions endpoint temporarily, you can track stuff here: https://github.com/anomalyco/opencode/issues/6864

Will fix it

@rekram1-node commented on GitHub (Jan 29, 2026): Yeah this was intentional I have to go back to completions endpoint temporarily, you can track stuff here: https://github.com/anomalyco/opencode/issues/6864 Will fix it
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7987