Skip to content

@langchain/anthropic@1.6.3

Choose a tag to compare

@github-actions github-actions released this 10 Nov 18:39
· 16 commits to main since this release
a5f7f6a

Patch Changes

  • #12122 e92e44d Thanks @thushanth-bengre-langchain! - fix(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.