Skip to content

Backport: feat(anthropic): add the new compaction feature#12405

Merged
gr2m merged 4 commits intorelease-v5.0from
aayush/backport-12384
Feb 10, 2026
Merged

Backport: feat(anthropic): add the new compaction feature#12405
gr2m merged 4 commits intorelease-v5.0from
aayush/backport-12384

Conversation

@aayush-kapoor
Copy link
Copy Markdown
Collaborator

Background

backport for #12384

@gr2m gr2m merged commit af58c05 into release-v5.0 Feb 10, 2026
18 checks passed
@gr2m gr2m deleted the aayush/backport-12384 branch February 10, 2026 20:14
aayush-kapoor added a commit that referenced this pull request Feb 13, 2026
…2546)

## 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

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

---------

Co-authored-by: Walter Korman <shaper@vercel.com>
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.

2 participants