fix(bedrock_httpx.py): Fix STS region endpoint.

This commit is contained in:
David Manouchehri 2024-06-01 01:52:06 +00:00
parent 240a0da271
commit fd16937ad8
No known key found for this signature in database

View file

@ -307,6 +307,7 @@ class BedrockLLM(BaseLLM):
sts_client = boto3.client(
"sts",
region_name=aws_region_name,
endpoint_url=f"https://sts.{aws_region_name}.amazonaws.com"
)
# https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html