github langchain-ai/langchainjs @langchain/anthropic@1.6.7

latest releases: @langchain/neo4j@0.1.35, @langchain/google-vertexai-web@2.3.8, @langchain/google-vertexai@2.3.8...
one hour ago

Patch Changes

  • #12269 e21b7a3 Thanks @prassu017! - fix(anthropic): keep streamed refusals as a refusal content block on the native stream path

  • #12293 befbaf7 Thanks @hntrl! - Replace retiring Claude Sonnet 4.5 and Opus 4.5 model IDs with Claude Sonnet 5.5 and Opus 5.5. ChatAnthropic now defaults to claude-sonnet-4-6 instead of claude-sonnet-4-5-20250929. Claude Opus 5.5 and Sonnet 5.5 are treated as always-on thinking models: withStructuredOutput no longer forces a tool call for them, and an explicit thinking: { type: "disabled" } is rejected.

Don't miss a new langchainjs release

NewReleases is sending notifications on new releases.