Skip to content

docs: document cohereApiUrl/COHERE_API_URL for web search reranker - #753

Open
busla wants to merge 1 commit into
LibreChat-AI:mainfrom
aproorg:docs/cohere-reranker-custom-url
Open

docs: document cohereApiUrl/COHERE_API_URL for web search reranker#753
busla wants to merge 1 commit into
LibreChat-AI:mainfrom
aproorg:docs/cohere-reranker-custom-url

Conversation

@busla

@busla busla commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new cohereApiUrl config field / COHERE_API_URL env var for the web search reranker, mirroring the existing jinaApiUrl/JINA_API_URL documentation:

  • content/docs/configuration/librechat_yaml/object_structure/web_search.mdx — YAML example + property reference table
  • content/docs/features/web_search.mdx — env var setup + YAML example
  • content/docs/configuration/dotenv.mdx — env var reference table

This documents the feature added in danny-avila/LibreChat#15518 and danny-avila/agents#498, which lets the Cohere reranker point at a Cohere-compatible endpoint (e.g. a self-hosted LiteLLM proxy) instead of api.cohere.com.

English-only change, per this repo's localization convention (other languages are handled by translation automation).

🤖 Generated with Claude Code

Documents the new cohereApiUrl config field and COHERE_API_URL env var
(danny-avila/LibreChat#15518, danny-avila/agents#498) for pointing the
Cohere reranker at a Cohere-compatible endpoint, e.g. a self-hosted
LiteLLM proxy. Mirrors the existing jinaApiUrl/JINA_API_URL docs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VsjKxPvN8aHBYmggXGqNuL
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

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

A member of the Team first needs to authorize it.

@busla

busla commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

The failing `analyze` check isn't related to this PR's content — the bundle analysis itself succeeded ("This PR introduced no changes to the JavaScript bundle!"), but the follow-up step that posts that result as a comment (peter-evans/create-or-update-comment) got a 403 Resource not accessible by integration from the GitHub API.

That's the standard fork-PR limitation: workflows triggered by pull_request from a fork run with a read-only GITHUB_TOKEN (no issues/pull-requests: write), so the bot can't post a comment regardless of what changed. This would fail the same way for any external PR, content-only or not — switching the workflow to pull_request_target (or granting it permissions: pull-requests: write) would fix it repo-wide.

Flagging so it doesn't block review of the docs change itself.

🤖 Generated with Claude Code

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.

1 participant