Skip to content

Add support for Bedrock as model provider#1194

Open
ensean wants to merge 2 commits into
dataease:mainfrom
ensean:bedrock
Open

Add support for Bedrock as model provider#1194
ensean wants to merge 2 commits into
dataease:mainfrom
ensean:bedrock

Conversation

@ensean

@ensean ensean commented Jun 12, 2026

Copy link
Copy Markdown

No description provided.

ensean added 2 commits June 12, 2026 10:58
- Add BedrockLLM class with support for both bedrock-runtime and bedrock-mantle endpoints
- Implement protocol-to-model-type mapping for better model configuration management
- Add AWS region extraction utility from Bedrock endpoint URLs
- Register Bedrock as a supported model type in LLMFactory
- Add langchain-aws dependency to backend
- Update model protocol handling to use new get_model_type_by_protocol function
- Add Amazon Bedrock supplier configuration to frontend with full model and parameter setup
- Add i18n translations for Bedrock in English, Chinese (Simplified/Traditional), and Korean
- Update ModelForm.vue to display Bedrock-specific configuration options and endpoint guidance
- Add `/bedrock/models` API endpoint to list invocable Bedrock models grouped by scope (In-Region, Cross-Region Geo, Global, Foundation Models)
- Implement model grouping logic based on inference profile type and geo prefixes (us, eu, apac)
- Add `BedrockModelListReq` schema with AWS region, credentials, and endpoint type parameters
- Install boto3 and langchain-aws separately in Dockerfile with --no-deps to avoid numpy version conflicts
- Remove langchain-aws from main dependencies (now installed separately during build)
- Update default PyPI index URL from Aliyun mirror to pypi.org
- Add frontend API integration and UI components for Bedrock model selection
- Add i18n support for Bedrock model listing in English, Korean, Simplified Chinese, and Traditional Chinese
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant