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

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

View file

@ -348,6 +348,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