@langchain/aws
1.5.3 · 20 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed
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.reasoningChatBedrockConversenow acceptsadditionalModelResponseFieldPaths(constructor and call option, matchingadditional_model_response_field_pathsin 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 tousage_metadata.output_token_details.reasoningforinvoke(),.stream()andstreamEvents().output_tokensis 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.