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

This reverts commit fd16937ad8.
This commit is contained in:
David Manouchehri 2024-06-11 15:42:09 +00:00
parent 3410367610
commit 1a77c1bf16
No known key found for this signature in database

View file

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