From 3c84388fb2330cbdb41ca5f581225ad44eb7a5cc Mon Sep 17 00:00:00 2001 From: AJ Juaire <46756248+ajjuaire@users.noreply.github.com> Date: Mon, 29 Sep 2025 14:01:33 -0700 Subject: [PATCH] feat: Add Amazon Bedrock us-west-1 support. (#6550) docs: https://docs.aws.amazon.com/bedrock/latest/userguide/models-regions.html --- .changeset/yummy-dots-count.md | 5 +++++ .../src/components/settings/providers/BedrockProvider.tsx | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/yummy-dots-count.md diff --git a/.changeset/yummy-dots-count.md b/.changeset/yummy-dots-count.md new file mode 100644 index 00000000..c36cb9be --- /dev/null +++ b/.changeset/yummy-dots-count.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +Add us-west-1 to Amazon Bedrock regions diff --git a/webview-ui/src/components/settings/providers/BedrockProvider.tsx b/webview-ui/src/components/settings/providers/BedrockProvider.tsx index 674262b3..4dc78df4 100644 --- a/webview-ui/src/components/settings/providers/BedrockProvider.tsx +++ b/webview-ui/src/components/settings/providers/BedrockProvider.tsx @@ -21,7 +21,7 @@ interface BedrockProviderProps { export const BedrockProvider = ({ showModelOptions, isPopup, currentMode }: BedrockProviderProps) => { const { apiConfiguration } = useExtensionState() - const { handleFieldChange, handleFieldsChange, handleModeFieldChange, handleModeFieldsChange } = useApiConfigurationHandlers() + const { handleFieldChange, handleModeFieldChange, handleModeFieldsChange } = useApiConfigurationHandlers() const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration, currentMode) const modeFields = getModeSpecificFields(apiConfiguration, currentMode) @@ -108,7 +108,7 @@ export const BedrockProvider = ({ showModelOptions, isPopup, currentMode }: Bedr {/* 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-west-1 */} + us-west-1 us-west-2 {/* af-south-1 */} {/* ap-east-1 */}