Skip to content

Commit

Permalink
feat: Add cross-region inference support for Bedrock models (#535)
Browse files Browse the repository at this point in the history
- Fixing '(' was never closed
  • Loading branch information
chm10 committed Sep 17, 2024
1 parent 7b14fd9 commit 47e3eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_bedrock_client(region=BEDROCK_REGION):
else:
if ENABLE_BEDROCK_CROSS_REGION_INFERENCE:
logger.warning(f"Cross-region inference is enabled, but the region {region} is not supported. Using default region.")
return boto3.client("bedrock-runtime", region_name=REGION
return boto3.client("bedrock-runtime", region_name=REGION)


def get_bedrock_agent_client(region=REGION):
Expand Down

0 comments on commit 47e3eea

Please sign in to comment.