You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does ChatBedrockConverse have a built-in retry mechanism?
I used ChatBedrockConverse with maxRetries=10, but still receive a lot of 503 errors from Bedrock.
I'm not sure whether maxRetries is used for a built-in retry mechanism, or I have to implement my own logic.
Additionally, if ChatBedrockConverse already handles the retry, when does it log the error returned from Bedrock? With each error response, or after the final failed retry?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Checked other resources
Commit to Help
Example Code
Description
Does
ChatBedrockConverse
have a built-in retry mechanism?I used
ChatBedrockConverse
with maxRetries=10, but still receive a lot of 503 errors from Bedrock.I'm not sure whether
maxRetries
is used for a built-in retry mechanism, or I have to implement my own logic.Additionally, if
ChatBedrockConverse
already handles the retry, when does it log the error returned from Bedrock? With each error response, or after the final failed retry?System Info
node: 20
langchain/aws: 0.1.2
Beta Was this translation helpful? Give feedback.
All reactions