@langchain/aws@1.4.4
Patch Changes
-
#11345
8ba1fd9Thanks @thushanth-bengre-langchain! - fix(aws): putlc_error_codedirectly on Bedrock Converse stream-idle timeouts, cover the pre-response hang windowChatBedrockConverse's stream watchdog previously threw a bareErrorwithlc_error_codenested undercause, making the timeout undetectable via a plainerror.lc_error_codecheck. It now setslc_error_code: "MODEL_STREAM_TIMEOUT"directly on the error, matching the convention used elsewhere in the codebase. ThestreamIdleTimeoutwatchdog also now covers the window before the initial response is received, not just gaps between stream chunks.