[FEATURE]: Add Claude Opus 4.6 adaptive thinking support #9120

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

Originally created by @cascadingstyletrees on GitHub (Feb 11, 2026).

Originally assigned to: @thdxr on GitHub.

  • I have verified this feature I'm about to request hasn't been suggested before.

OpenCode lists claude-opus-4-6 in its model snapshot but lacks support for its key features:

  • Adaptive thinking (thinking.type: "adaptive") — model decides its own thinking budget
  • Effort levels including "max" — controls output quality/speed tradeoff
  • Fast mode (speed: "fast") — 2.5x faster output tokens

These require @ai-sdk/anthropic@3.x (currently on 2.0.58). The v2 SDK Zod schema strips adaptive, max effort, and speed as unknown fields.

This also requires bumping the full AI SDK ecosystem to v6 (ai@6.0.81, all providers to latest).

A PR is ready: #13228

Originally created by @cascadingstyletrees on GitHub (Feb 11, 2026). Originally assigned to: @thdxr on GitHub. - [x] I have verified this feature I'm about to request hasn't been suggested before. OpenCode lists `claude-opus-4-6` in its model snapshot but lacks support for its key features: - **Adaptive thinking** (`thinking.type: "adaptive"`) — model decides its own thinking budget - **Effort levels** including `"max"` — controls output quality/speed tradeoff - **Fast mode** (`speed: "fast"`) — 2.5x faster output tokens These require `@ai-sdk/anthropic@3.x` (currently on 2.0.58). The v2 SDK Zod schema strips adaptive, max effort, and speed as unknown fields. This also requires bumping the full AI SDK ecosystem to v6 (`ai@6.0.81`, all providers to latest). A PR is ready: #13228
yindo added the needs:compliance label 2026-02-16 18:11:41 -05:00
yindo closed this issue 2026-02-16 18:11:41 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 11, 2026):

This issue doesn't fully meet our contributing guidelines.

What needs to be fixed:

  • Feature requests must use the proper template with a title starting with [FEATURE]:
  • A verification checkbox is required: "I have verified this feature I'm about to request hasn't been suggested before."

Please edit this issue to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions[bot] commented on GitHub (Feb 11, 2026): <!-- issue-compliance --> This issue doesn't fully meet our [contributing guidelines](../blob/dev/CONTRIBUTING.md). **What needs to be fixed:** - Feature requests must use the proper template with a title starting with `[FEATURE]:` - A verification checkbox is required: "I have verified this feature I'm about to request hasn't been suggested before." Please edit this issue to address the above within **2 hours**, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know.
Author
Owner

@cascadingstyletrees commented on GitHub (Feb 11, 2026):

Closing — this is covered by existing PR #12342.

@cascadingstyletrees commented on GitHub (Feb 11, 2026): Closing — this is covered by existing PR #12342.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9120