feat: Add custom region support for AWS Bedrock provider #5924
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #5923
This PR adds custom region input support for the AWS Bedrock provider, allowing users to enter new AWS regions before they are officially added to the codebase.
Changes Made
BEDROCK_REGIONS
dropdown listTechnical Details
Files Modified
packages/types/src/providers/bedrock.ts
- Added custom option to regions listwebview-ui/src/components/settings/providers/Bedrock.tsx
- Added UI logic and state managementImplementation
Use Case
When AWS launches new regions (e.g.,
us-west-3
), users can immediately access Bedrock services in those regions by:Testing
Screenshots
<!-- Add screenshots showing the new custom region functionality -->
Alignment with Roadmap
Notes
This follows the same pattern as the existing Custom ARN functionality, providing a consistent user experience across custom input features.