Skip to content

[FEATURE]: support adaptive thinking for claude sonnet 4.6 #14284

Closed

Description

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

Describe the enhancement you want to request

I noticed Opus 4.6 already uses adaptive thinking in ProviderTransform.variants, but Sonnet 4.6 still falls back to type: "enabled" with budgetTokens.

Anthropic now recommends adaptive thinking for both Opus 4.6 and Sonnet 4.6, so it would be great to align Sonnet 4.6 with the same behavior.

Requested update:

  • include Sonnet 4.6 in adaptive model detection
  • return adaptive variants (low, medium, high, max) for Anthropic, Gateway, and Bedrock paths
  • keep current manual budgetTokens behavior for other Anthropic models

I opened PR #14283 with this change plus tests.

Activity

  1. github-actions commented on Feb 19, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • This appears to be a feature request, but it does not use the required Feature Request template. Feature request titles must start with [FEATURE]: and include the required verification checkbox confirming you've searched for existing issues.

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


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

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

  2. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Feb 19, 2026
  3. changed the title [-]support adaptive thinking for claude sonnet 4.6[/-] [+][FEATURE]: support adaptive thinking for claude sonnet 4.6[/+] on Feb 19, 2026
  4. github-actions commented on Feb 19, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now follows the contributing guidelines and the feature request template. We appreciate the clear description of the current vs. requested behavior.

  5. R44VC0RP commented on Feb 19, 2026

    @R44VC0RP
    Contributor

    Does the functionality when running ctrl + t achieve what you are trying to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions