Skip to content

Commit

Permalink
Restore BEDROCK_ASSUME_ROLE
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanmai committed Jan 7, 2025
1 parent 79eda8d commit a8c996f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helm/clients/bedrock_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __init__(
self.tokenizer = tokenizer
self.tokenizer_name = tokenizer_name
self.bedrock_client = get_bedrock_client_v1(
assumed_role=assumed_role,
assumed_role=assumed_role or os.environ.get("BEDROCK_ASSUME_ROLE", None),
region=region,
)

Expand Down

0 comments on commit a8c996f

Please sign in to comment.