mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-08-01 19:06:01 +00:00
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:
parent
133a82c6c2
commit
d0957409f1
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user