Skip to content

feat(models): expose Opus 4.8 xhigh/max effort tiers, keep Sonnet 5#11

Merged
Aayam Bansal (aayambansal) merged 1 commit into
mainfrom
models-effort-tiers
Jul 4, 2026
Merged

feat(models): expose Opus 4.8 xhigh/max effort tiers, keep Sonnet 5#11
Aayam Bansal (aayambansal) merged 1 commit into
mainfrom
models-effort-tiers

Conversation

@aayambansal

Copy link
Copy Markdown
Member

Patches @ai-sdk/anthropic to widen its effort enum to low|medium|high|xhigh|max so the adaptive-thinking range on Opus 4.8+ is selectable in the model picker (xhigh gated to Opus 4.8/5+, max on every adaptive Claude). Updates the variant map and its tests to the new contract.

Verified: bun install applies the patch cleanly; turbo typecheck clean; provider tests 176/176.

Patch @ai-sdk/anthropic to widen its effort enum to low|medium|high|xhigh|max
so the adaptive-thinking range on Opus 4.8+ is selectable in the model picker
(xhigh gated to Opus 4.8/5+, max on every adaptive Claude). Update the variant
map and its tests to the new contract.
@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openscience Ready Ready Preview, Comment Jul 4, 2026 6:22pm

Request Review

@aayambansal Aayam Bansal (aayambansal) merged commit 728f7f3 into main Jul 4, 2026
9 checks passed
@aayambansal Aayam Bansal (aayambansal) deleted the models-effort-tiers branch July 4, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant