mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(bedrock.py): fix boto3 config init
This commit is contained in:
parent
7715a9d333
commit
defed7c08a
2 changed files with 53 additions and 63 deletions
|
@ -598,6 +598,8 @@ def init_bedrock_client(
|
|||
config = boto3.session.Config(
|
||||
connect_timeout=timeout.connect, read_timeout=timeout.read
|
||||
)
|
||||
else:
|
||||
config = boto3.session.Config()
|
||||
|
||||
### CHECK STS ###
|
||||
if aws_role_name is not None and aws_session_name is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue