Skip to content

Commit 24c9d87

Browse files
committed
improve retry mechanism
1 parent d06c8fe commit 24c9d87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/idp_common_pkg/idp_common/utils/bedrock_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
InvokeModelRequestTypeDef,
2020
InvokeModelResponseTypeDef,
2121
)
22+
from strands.models.bedrock import ModelThrottledException
2223

2324
# Optional import for strands-agents (may not be installed in all environments)
2425
try:

0 commit comments

Comments
 (0)