Skip to content

fix(anthropic): map proper context management tools for anthropic#12546

Merged
aayush-kapoor merged 8 commits intorelease-v5.0from
aayush/anthropic-ctx-mgmt-type
Feb 13, 2026
Merged

fix(anthropic): map proper context management tools for anthropic#12546
aayush-kapoor merged 8 commits intorelease-v5.0from
aayush/anthropic-ctx-mgmt-type

Conversation

@aayush-kapoor
Copy link
Copy Markdown
Collaborator

Background

during the backport #12405, i accidentally mapped the wrong context management tools - there is no tool named clear_01

Summary

add the proper provider option types as done in v6

Manual Verification

verified by running examples/ai-core/src/stream-text/anthropic-context-management.ts

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

@vercel-ai-sdk vercel-ai-sdk Bot added ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label provider/anthropic Issues related to the @ai-sdk/anthropic provider labels Feb 13, 2026
Copy link
Copy Markdown
Collaborator

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, 2 suggestions

@aayush-kapoor aayush-kapoor merged commit e551c84 into release-v5.0 Feb 13, 2026
18 checks passed
@aayush-kapoor aayush-kapoor deleted the aayush/anthropic-ctx-mgmt-type branch February 13, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label provider/anthropic Issues related to the @ai-sdk/anthropic provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants