From 0d65d712017ba13e01738791691d0817d550cf91 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 6 May 2026 13:20:34 +0000 Subject: [PATCH] docs: document configurable Cohere reranker API URL Document the new optional `cohereApiUrl` config field and `COHERE_API_URL` environment variable that allow targeting Cohere-compatible reranker endpoints such as Azure AI Foundry's serverless deployments. Mirrors the existing `jinaApiUrl` documentation pattern. Refs https://github.com/danny-avila/LibreChat/issues/12328 --- .../librechat_yaml/object_structure/web_search.mdx | 11 +++++++++++ content/docs/features/web_search.mdx | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/content/docs/configuration/librechat_yaml/object_structure/web_search.mdx b/content/docs/configuration/librechat_yaml/object_structure/web_search.mdx index 9716c77f8..1f0bf81a1 100644 --- a/content/docs/configuration/librechat_yaml/object_structure/web_search.mdx +++ b/content/docs/configuration/librechat_yaml/object_structure/web_search.mdx @@ -39,6 +39,7 @@ webSearch: jinaApiKey: "${JINA_API_KEY}" jinaApiUrl: "${JINA_API_URL}" cohereApiKey: "${COHERE_API_KEY}" + cohereApiUrl: "${COHERE_API_URL}" rerankerType: "jina" # Options: "jina", "cohere", "none" # General Settings @@ -417,6 +418,16 @@ webSearch: **Note:** Get your API key from [Cohere Dashboard](https://dashboard.cohere.com/welcome/login) +### cohereApiUrl + + + +**Note:** This is optional and only needed if you're using a Cohere-compatible endpoint such as Azure AI Foundry's serverless deployments. Defaults to `https://api.cohere.com/v2/rerank`. + ### rerankerType