Skip to content

docs: document configurable Cohere reranker API URL#571

Open
npeham wants to merge 1 commit into
LibreChat-AI:mainfrom
pcode-at:docs/MIA-201-cohere-reranker-url-config
Open

docs: document configurable Cohere reranker API URL#571
npeham wants to merge 1 commit into
LibreChat-AI:mainfrom
pcode-at:docs/MIA-201-cohere-reranker-url-config

Conversation

@npeham
Copy link
Copy Markdown

@npeham npeham commented May 6, 2026

Summary

Documentation for danny-avila/LibreChat#12969

This PR adds support for configuring a custom Cohere API URL in the web search configuration, enabling users to use Cohere-compatible endpoints such as Azure AI Foundry's serverless deployments.

Key Changes

  • Added cohereApiUrl configuration option to the web search settings in librechat_yaml
  • Updated documentation to include the new COHERE_API_URL environment variable
  • Added clarification that the Cohere API URL is optional and defaults to https://api.cohere.com/v2/rerank
  • Updated configuration examples to show the new cohereApiUrl parameter
  • Added notes about Azure AI Foundry serverless Cohere endpoint support
  • Updated setup instructions to include the optional Cohere API URL configuration step

Implementation Details

  • The cohereApiUrl parameter follows the same pattern as the existing jinaApiUrl configuration
  • It accepts an environment variable reference (e.g., ${COHERE_API_URL})
  • Users can optionally provide the URL via the UI if not set in environment variables
  • The feature is fully backward compatible - existing configurations without this parameter will continue to work with the default Cohere endpoint

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 danny-avila/LibreChat#12328
@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2026

@claude is attempting to deploy a commit to the LibreChat's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants