[PR #4651] [MERGED] feature: Support for AWS Bedrock API Keys #4700

Closed
opened 2026-02-22 18:36:21 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4651
Author: @chetan
Created: 11/13/2025
Status: Merged
Merged: 11/20/2025
Merged by: @timothycarambat

Base: masterHead: feature/bedrock-api-keys


📝 Commits (5)

  • 0b788e4 feat: add AWS Bedrock API Key option to settings panel
  • 94333c5 feat: Bedrock API key auth method
  • cd72025 fix: hide IAM note when using bedrock api key
  • cb87054 move to camcelCase identifier for bedrock api key use
  • dc6ebe7 Merge branch 'master' into feature/bedrock-api-keys

📊 Changes

9 files changed (+164 additions, -81 deletions)

View changed files

📝 docker/.env.example (+3 -0)
📝 frontend/src/components/LLMSelection/AwsBedrockLLMOptions/index.jsx (+21 -3)
📝 server/.env.example (+3 -0)
📝 server/models/systemSettings.js (+1 -0)
📝 server/utils/AiProviders/bedrock/index.js (+18 -31)
📝 server/utils/AiProviders/bedrock/utils.js (+97 -2)
📝 server/utils/agents/aibitat/providers/ai-provider.js (+4 -15)
📝 server/utils/agents/aibitat/providers/bedrock.js (+11 -28)
📝 server/utils/helpers/updateENV.js (+6 -2)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

What is in this change?

Adds support for the relatively new authentication method using Bedrock API Keys

Also refactored some common bits between the bedrock provider and agent to make maintaining a little easier. Happy to revert if I overlooked some reason for the duplicate bits.

Additional Information

Screenshot 2025-11-13 at 11 13 28 AM

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/4651 **Author:** [@chetan](https://github.com/chetan) **Created:** 11/13/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `feature/bedrock-api-keys` --- ### 📝 Commits (5) - [`0b788e4`](https://github.com/Mintplex-Labs/anything-llm/commit/0b788e4372bd3baed451f794d78d722bc0cf628d) feat: add AWS Bedrock API Key option to settings panel - [`94333c5`](https://github.com/Mintplex-Labs/anything-llm/commit/94333c59121d3e3c4e157c427954690bbc2385d1) feat: Bedrock API key auth method - [`cd72025`](https://github.com/Mintplex-Labs/anything-llm/commit/cd72025f98637cb3b3dfdb055ce0188121a37e4d) fix: hide IAM note when using bedrock api key - [`cb87054`](https://github.com/Mintplex-Labs/anything-llm/commit/cb8705498e69c22d1984568160bedc20ee75237d) move to camcelCase identifier for bedrock api key use - [`dc6ebe7`](https://github.com/Mintplex-Labs/anything-llm/commit/dc6ebe753529633f643e2157102e49d9a4c02234) Merge branch 'master' into feature/bedrock-api-keys ### 📊 Changes **9 files changed** (+164 additions, -81 deletions) <details> <summary>View changed files</summary> 📝 `docker/.env.example` (+3 -0) 📝 `frontend/src/components/LLMSelection/AwsBedrockLLMOptions/index.jsx` (+21 -3) 📝 `server/.env.example` (+3 -0) 📝 `server/models/systemSettings.js` (+1 -0) 📝 `server/utils/AiProviders/bedrock/index.js` (+18 -31) 📝 `server/utils/AiProviders/bedrock/utils.js` (+97 -2) 📝 `server/utils/agents/aibitat/providers/ai-provider.js` (+4 -15) 📝 `server/utils/agents/aibitat/providers/bedrock.js` (+11 -28) 📝 `server/utils/helpers/updateENV.js` (+6 -2) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [x] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### What is in this change? Adds support for the relatively new authentication method using [Bedrock API Keys](https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started-api-keys.html) Also refactored some common bits between the bedrock provider and agent to make maintaining a little easier. Happy to revert if I overlooked some reason for the duplicate bits. ### Additional Information <img width="878" height="510" alt="Screenshot 2025-11-13 at 11 13 28 AM" src="https://github.com/user-attachments/assets/55fd209d-2f23-4cf4-82ea-15caff19b8af" /> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:36:21 -05:00
yindo closed this issue 2026-02-22 18:36:21 -05:00
yindo changed title from [PR #4651] feature: Support for AWS Bedrock API Keys to [PR #4651] [MERGED] feature: Support for AWS Bedrock API Keys 2026-06-05 15:19:55 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4700