Packages

@langchain/aws

1.5.3 · 20 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed

Your version

1.4.7

15 Oct 2026Where it was published

1.5.3 is the newest release of 1.x.

In short

1 fixed

Release note

Patch Changes

  • Report Bedrock thinking tokens as output_token_details.reasoning

    ChatBedrockConverse now accepts additionalModelResponseFieldPaths (constructor and call option, matching additional_model_response_field_paths in Python) and forwards it to Converse and ConverseStream. When the response includes Anthropic's native usage (additionalModelResponseFields.usage.output_tokens_details.thinking_tokens, returned when requesting ["/usage"]), the count is mapped to usage_metadata.output_token_details.reasoning for invoke(), .stream() and streamEvents(). output_tokens is unchanged, and nothing changes when the field is absent.

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.