Skip to content

@langchain/anthropic@1.5.5

Latest

Choose a tag to compare

@github-actions github-actions released this 13 Aug 07:14
242b986

Patch Changes

  • #11359 d36ec6a Thanks @talarari! - fix(anthropic): preserve gateway cost on the native stream path

    convertAnthropicStream now surfaces an Anthropic-compatible gateway's numeric usage.cost at response_metadata.usage.cost, matching the chunk path. Token accounting in usage_metadata is unchanged.