@ai-sdk/anthropic
4.0.106 · 17 Nov 2026Apache-2.024.5M / weekRepositoryHomepagenpmAtom feed
4.0.106 is the newest release of 4.x.
In short
3 fixed1 internal
Release note
The section about @ai-sdk/anthropic of a note shared by several packages.
Patch Changes
anthropic: Preserve tools when disabling tool calls
anthropic: Preserve failed tool search results in conversation history
Keep retrieved web-search sources separate from normalized inline citations on text parts and text-end events. Preserve every supported web and document citation kind in generation, streaming, and batch results, with typed AnthropicCitation and AnthropicTextProviderMetadata exports. Retain document source compatibility and web citation source fallbacks when retrieval results are unavailable.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.