modify the BEDROCK_BASE_URL to use the region from the access store

This commit is contained in:
glay 2024-11-26 16:19:54 +08:00
parent 471b17831a
commit d9d2a27d8f
1 changed files with 0 additions and 1 deletions

View File

@ -244,7 +244,6 @@ export const Bedrock = {
getEndpoint: (region: string = "us-west-2") =>
`https://bedrock-runtime.${region}.amazonaws.com`,
};
// Get the region from access store for BEDROCK_BASE_URL
export const BEDROCK_BASE_URL = Bedrock.getEndpoint();