feat(wizard): add OrcaRouter as an LLM provider (#4598)

OrcaRouter is an OpenAI-compatible routing gateway. Mirror the existing
OpenRouter entry in the setup wizard's LLM_PROVIDERS: reuse
langchain_openai:ChatOpenAI pointed at api.orcarouter.ai/v1 with env var
ORCAROUTER_API_KEY. Default model pins a tool-capable model; orcarouter/auto
is also selectable.

Disclosure: I'm an engineer on the OrcaRouter team.

Co-authored-by: jinhaosong-source <jinhaosong@myflashcloud.com>
This commit is contained in:
jinhaosong-source 2026-07-31 17:07:21 +08:00 committed by GitHub
parent 133a82c6c2
commit d0957409f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -434,6 +434,23 @@ LLM_PROVIDERS: list[LLMProvider] = [
"temperature": 0.7,
},
),
LLMProvider(
name="orcarouter",
display_name="OrcaRouter",
description="OpenAI-compatible adaptive routing gateway",
use="langchain_openai:ChatOpenAI",
models=["openai/gpt-5.5", "anthropic/claude-opus-4.8", "google/gemini-3.5-flash", "orcarouter/auto"],
default_model="openai/gpt-5.5",
env_var="ORCAROUTER_API_KEY",
package="langchain-openai",
extra_config={
"base_url": "https://api.orcarouter.ai/v1",
"request_timeout": 600.0,
"max_retries": 2,
"max_tokens": 8192,
"temperature": 0.7,
},
),
LLMProvider(
name="vllm",
display_name="vLLM",