Backport: feat(provider/anthropic): add support for new Claude Sonnet 4.6 model#12648
Merged
felixarntz merged 3 commits intorelease-v5.0from Feb 17, 2026
Merged
Conversation
4 tasks
| } | ||
| ``` | ||
|
|
||
| ### Programmatic Tool Calling |
Contributor
There was a problem hiding this comment.
i don't think programmatic tool calling is available in v5.. might have to remove this docs section
Contributor
There was a problem hiding this comment.
Hmm, good point, hadn't considered that yet. I can see code_execution_20250825 in https://github.com/vercel/ai/blob/release-v5.0/packages/anthropic/src/anthropic-prepare-tools.ts#L73 - wouldn't that mean it is in v5, or does it require something else?
aayush-kapoor
approved these changes
Feb 17, 2026
gr2m
pushed a commit
that referenced
this pull request
Feb 17, 2026
Follow up to #12648 where this file was accidentally backported in the wrong place. no re-release needed because it's just an example though
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automated backport of #12645 to the release-v5.0 branch. FYI @felixarntz
This backport has conflicts that need to be resolved manually.
git cherry-pickoutput