Packages

@langchain/anthropic

1.6.6 · 20 Nov 2026MIT2.1M / weekRepositoryHomepagenpmAtom feed

Your version

1.6.3

10 Nov 2026Where it was published

1.6.6 is the newest release of 1.x.

In short

1 fixed

Release note

Patch Changes

  • anthropic: Surface model refusals as ModelRefusalError

    A refusal stop reason maps to the content_filter finish reason in stream events, and withStructuredOutput throws ModelRefusalError on a refusal, including when thinking is enabled.

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.