Packages

@ai-sdk/anthropic

4.0.106 · 17 Nov 2026Apache-2.024.5M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.13

8 Sep 2025Where it was published

2.0.115 is the newest release of 2.x.

In short

1 fixed

Release note

Patch Changes

  • anthropic: Reorder tool_result parts to front of combined user messages

    Reorders tool_result content to appear before user text within combined user messages, ensuring Claude API validation requirements are met while preserving the intentional message combining behavior that prevents role alternation errors. Fixes #8318.

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.