modify the BEDROCK_BASE_URL to use the region from the access store
This commit is contained in:
parent
471b17831a
commit
d9d2a27d8f
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue