From 12eafdf345d0d83a6189beadeb88578f43eee4ac Mon Sep 17 00:00:00 2001 From: jinhaosong-source Date: Sat, 15 Aug 2026 10:14:51 +0000 Subject: [PATCH] docs: add OrcaRouter as a named OpenAI-compatible model provider Add OrcaRouter (https://api.orcarouter.ai/v1) as a named model provider example in config.example.yaml and to the Supported Providers list in CONFIGURATION.md, mirroring the existing OpenAI/OpenRouter gateway entries. OrcaRouter is an OpenAI-compatible LLM routing gateway; the orcarouter/auto router id routes through its adaptive routing engine. Co-Authored-By: Claude --- backend/docs/CONFIGURATION.md | 9 +++++++++ config.example.yaml | 16 ++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/backend/docs/CONFIGURATION.md b/backend/docs/CONFIGURATION.md index 4ad0f026..878d98d6 100644 --- a/backend/docs/CONFIGURATION.md +++ b/backend/docs/CONFIGURATION.md @@ -47,6 +47,7 @@ models: - Xiaomi MiMo (`deerflow.models.patched_mimo:PatchedChatMiMo`) - Claude Code OAuth (`deerflow.models.claude_provider:ClaudeChatModel`) - Codex CLI (`deerflow.models.openai_codex_provider:CodexChatModel`) +- OrcaRouter (`langchain_openai:ChatOpenAI`) - Any LangChain-compatible provider CLI-backed provider examples: @@ -140,6 +141,14 @@ models: model: google/gemini-2.5-flash-preview api_key: $OPENAI_API_KEY base_url: https://openrouter.ai/api/v1 + + - name: orcarouter-auto + display_name: OrcaRouter (Auto Router) + use: langchain_openai:ChatOpenAI + model: orcarouter/auto + api_key: $ORCAROUTER_API_KEY + base_url: https://api.orcarouter.ai/v1 + supports_reasoning_effort: true ``` If your OpenRouter key lives in a different environment variable name, point `api_key` at that variable explicitly (for example `api_key: $OPENROUTER_API_KEY`). diff --git a/config.example.yaml b/config.example.yaml index 9809fea5..6e8593f2 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -210,6 +210,22 @@ models: # context_window: 400000 # supports_vision: true + # Example: OrcaRouter (OpenAI-compatible LLM routing gateway) + # OrcaRouter routes every request through its adaptive router, so the model + # name below is the OrcaRouter router id (orcarouter/auto) rather than a + # fixed upstream model. See https://www.orcarouter.ai/models for the full catalog. + # - name: orcarouter-auto + # display_name: OrcaRouter (Auto Router) + # use: langchain_openai:ChatOpenAI + # model: orcarouter/auto + # api_key: $ORCAROUTER_API_KEY + # base_url: https://api.orcarouter.ai/v1 + # request_timeout: 600.0 + # max_retries: 2 + # max_tokens: 4096 # Per-call output cap + # context_window: 128000 # Total prompt + completion capacity + # supports_reasoning_effort: true + # Example: Ollama (native provider — preserves thinking/reasoning content) # # IMPORTANT: Use langchain_ollama:ChatOllama instead of langchain_openai:ChatOpenAI -- Gitee