From d9d2a27d8f291f2161643e8030c34515e45635b3 Mon Sep 17 00:00:00 2001 From: glay Date: Tue, 26 Nov 2024 16:19:54 +0800 Subject: [PATCH] modify the BEDROCK_BASE_URL to use the region from the access store --- app/constant.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/app/constant.ts b/app/constant.ts index 7ab495fde..d53c52846 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -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();