From e0f92d29857cea85c1d6b158232e1d9bfc404c02 Mon Sep 17 00:00:00 2001 From: Adam Hesch Date: Thu, 7 Nov 2024 11:52:50 -0600 Subject: [PATCH] Fix: Add support for additional AWS Bedrock regions (#693) Added support for additional supported AWS regions per https://docs.aws.amazon.com/general/latest/gr/bedrock.html#bedrock_region --- webview-ui/src/components/settings/ApiOptions.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webview-ui/src/components/settings/ApiOptions.tsx b/webview-ui/src/components/settings/ApiOptions.tsx index d1475f7..7e0fbef 100644 --- a/webview-ui/src/components/settings/ApiOptions.tsx +++ b/webview-ui/src/components/settings/ApiOptions.tsx @@ -284,14 +284,14 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage, modelIdErrorMessage }: Select a region... {/* The user will have to choose a region that supports the model they use, but this shouldn't be a problem since they'd have to request access for it in that region in the first place. */} us-east-1 - {/* us-east-2 */} + us-east-2 {/* us-west-1 */} us-west-2 {/* af-south-1 */} {/* ap-east-1 */} ap-south-1 ap-northeast-1 - {/* ap-northeast-2 */} + ap-northeast-2 {/* ap-northeast-3 */} ap-southeast-1 ap-southeast-2 @@ -303,6 +303,8 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage, modelIdErrorMessage }: {/* eu-north-1 */} {/* me-south-1 */} sa-east-1 + us-gov-west-1 + {/* us-gov-east-1 */}