LibreChat/packages/data-provider
Jón Levy 00a99aca0a
feat: add COHERE_BASE_URL configuration support for custom Cohere rerank endpoints
- Add cohereBaseUrl to webSearchSchema configuration
- Update loadWebSearchConfig to load cohereBaseUrl from environment
- Add cohereBaseUrl to TWebSearchKeys type definition
- Configure cohereBaseUrl as optional parameter for cohere reranker
- Add COHERE_BASE_URL documentation to .env.example

This enables configuration of custom Cohere endpoints (such as LiteLLM proxy)
for web search reranking. The configuration infrastructure is ready for when
the @librechat/agents package supports custom base URLs.

Usage:
COHERE_BASE_URL=http://litellm:8000/v1
COHERE_API_KEY=your_api_key
2026-01-13 06:15:30 +00:00
..
react-query 📦 chore: bump axios to v1.12.1 (#9600) 2025-09-12 13:00:12 -04:00
specs 🌙 feat: Add Moonshot Kimi K2 Bedrock Support (#11288) 2026-01-10 14:26:19 -05:00
src feat: add COHERE_BASE_URL configuration support for custom Cohere rerank endpoints 2026-01-13 06:15:30 +00:00
.gitignore 🔄 refactor: Consolidate Ask/Edit Controllers (#1365) 2023-12-15 15:47:40 -05:00
babel.config.js chore: add back data-provider 2023-07-30 11:50:24 -04:00
check_updates.sh 🔧 feat: Initial MCP Support (Tools) (#5015) 2024-12-17 13:12:57 -05:00
jest.config.js chore: add back data-provider 2023-07-30 11:50:24 -04:00
package.json v0.8.2-rc2 (#11239) 2026-01-06 18:38:09 -05:00
rollup.config.js ⚙️ chore: Update Build Config due to Windows Tests (#9511) 2025-09-08 14:16:49 -04:00
server-rollup.config.js 🚀 feat: Add Code API Proxy Support and Update MCP SDK (#6203) 2025-03-06 12:47:59 -05:00
tsconfig.json feat: OAuth for Actions (#5693) 2025-02-10 15:56:08 -05:00
tsconfig.spec.json feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00