Skip to content

Commit

Permalink
Removed aws_session_token from required_keys
Browse files Browse the repository at this point in the history
  • Loading branch information
joris-swapfiets committed Jul 25, 2024
1 parent fffbc81 commit f054840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogen/oai/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def _configure_azure_openai(self, config: Dict[str, Any], openai_config: Dict[st

def _configure_openai_config_for_bedrock(self, config: Dict[str, Any], openai_config: Dict[str, Any]) -> None:
"""Update openai_config with AWS credentials from config."""
required_keys = ["aws_access_key", "aws_secret_key", "aws_session_token", "aws_region"]
required_keys = ["aws_access_key", "aws_secret_key", "aws_region"]

for key in required_keys:
if key in config:
Expand Down

0 comments on commit f054840

Please sign in to comment.