LibreChat/api/server/services/Config
Danny Avila 5b67e48fe1
Some checks are pending
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Waiting to run
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Waiting to run
🗃️ refactor: Separate Tool Cache Namespace for Blue/Green Deployments (#11738)
* 🔧 refactor: Introduce TOOL_CACHE for isolated caching of tools

- Added TOOL_CACHE key to CacheKeys enum for managing tool-related cache.
- Updated various services and controllers to utilize TOOL_CACHE instead of CONFIG_STORE for better separation of concerns in caching logic.
- Enhanced .env.example with comments on using in-memory cache for blue/green deployments.

* 🔧 refactor: Update cache configuration for in-memory storage handling

- Enhanced the handling of `FORCED_IN_MEMORY_CACHE_NAMESPACES` in `cacheConfig.ts` to default to `CONFIG_STORE` and `APP_CONFIG`, ensuring safer blue/green deployments.
- Updated `.env.example` with clearer comments regarding the usage of in-memory cache namespaces.
- Improved unit tests to validate the new default behavior and handling of empty strings for cache namespaces.
2026-02-11 22:20:43 -05:00
..
__tests__ 🗃️ refactor: Separate Tool Cache Namespace for Blue/Green Deployments (#11738) 2026-02-11 22:20:43 -05: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: Separate Tool Cache Namespace for Blue/Green Deployments (#11738) 2026-02-11 22:20:43 -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-28 17:44:32 -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 🗃️ refactor: Separate Tool Cache Namespace for Blue/Green Deployments (#11738) 2026-02-11 22:20:43 -05:00