github langchain-ai/langchainjs @langchain/aws@1.4.4

latest releases: @langchain/neo4j@0.1.15, @langchain/together-ai@0.2.8, @langchain/google@0.2.2...
3 hours ago

Patch Changes

  • #11345 8ba1fd9 Thanks @thushanth-bengre-langchain! - fix(aws): put lc_error_code directly on Bedrock Converse stream-idle timeouts, cover the pre-response hang window

    ChatBedrockConverse's stream watchdog previously threw a bare Error with lc_error_code nested under cause, making the timeout undetectable via a plain error.lc_error_code check. It now sets lc_error_code: "MODEL_STREAM_TIMEOUT" directly on the error, matching the convention used elsewhere in the codebase. The streamIdleTimeout watchdog also now covers the window before the initial response is received, not just gaps between stream chunks.

Don't miss a new langchainjs release

NewReleases is sending notifications on new releases.