LibreChat/api/server/services/Config
Dustin Healy bd49693afc
👤 feat: AWS Bedrock Custom Inference Profiles (#11308)
* feat: add support for inferenceProfiles mapping

* fix: remove friendly name since api requires actual model id for validation alongside inference profile

* docs: more generic description in docs

* chore: address comments

* chore: update peer dependency versions in package.json

- Bump @aws-sdk/client-bedrock-runtime from ^3.941.0 to ^3.970.0
- Update @librechat/agents from ^3.0.78 to ^3.0.79

* fix: update @librechat/agents dependency to version 3.0.80

* test: add unit tests for inference profile configuration in initializeBedrock function

- Introduced tests to validate the applicationInferenceProfile setting based on model configuration.
- Ensured correct handling of environment variables and fallback scenarios for inference profile ARNs.
- Added cases for empty inferenceProfiles and absence of bedrock config to confirm expected behavior.

* fix: update bedrock endpoint schema reference in config

- Changed the bedrock endpoint reference from baseEndpointSchema to bedrockEndpointSchema for improved clarity and accuracy in configuration.

* test: add unit tests for Bedrock endpoint configuration

- Introduced tests to validate the configuration of Bedrock endpoints with models and inference profiles.
- Added scenarios for both complete and minimal configurations to ensure expected behavior.
- Enhanced coverage for the handling of inference profiles without a models array.

---------

Co-authored-by: Danny Avila <danny@librechat.ai>
2026-01-16 17:46:54 -05:00
..
__tests__ 🏷️ fix: Add user ID to MCP tools cache keys (#10201) 2025-10-30 17:09:56 -04:00
app.js 🔃 refactor: Decouple Effects from AppService, move to data-schemas (#9974) 2025-10-05 06:37:57 -04:00
EndpointService.js 🤖 feat: Anthropic Vertex AI Support (#10780) 2025-12-30 18:16:52 -05:00
getCachedTools.js 🧰 refactor: Default TTL for Cached Tools (#11033) 2025-12-18 14:06:37 -05:00
getEndpointsConfig.js 🤖 feat: Anthropic Vertex AI Support (#10780) 2025-12-30 18:16:52 -05:00
index.js 🧰 refactor: Decouple MCP Tools from System Tools (#9748) 2025-09-21 07:56:40 -04:00
ldap.js 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
loadAsyncEndpoints.js 🪦 refactor: Remove Legacy Code (#10533) 2025-12-11 16:36:12 -05:00
loadConfigModels.js 👤 feat: AWS Bedrock Custom Inference Profiles (#11308) 2026-01-16 17:46:54 -05:00
loadConfigModels.spec.js 🧵 refactor: Migrate Endpoint Initialization to TypeScript (#10794) 2025-12-11 16:37:16 -05:00
loadCustomConfig.js 🛠️ feat: Add Config Validation Bypass & Improve Error Handling (#10733) 2025-12-11 16:37:25 -05:00
loadCustomConfig.spec.js 🛠️ feat: Add Config Validation Bypass & Improve Error Handling (#10733) 2025-12-11 16:37:25 -05:00
loadDefaultEConfig.js 🪦 refactor: Remove Legacy Code (#10533) 2025-12-11 16:36:12 -05:00
loadDefaultModels.js 🤖 feat: Anthropic Vertex AI Support (#10780) 2025-12-30 18:16:52 -05:00
mcp.js 🐛 fix: Error Handling in MCP Tool List Controller (#10570) 2025-11-18 18:28:57 -05:00