feat(providers): add OrcaRouter as a named gateway provider

Registers OrcaRouter (https://www.orcarouter.ai) as a built-in OpenAI-compatible gateway provider mirroring the OpenRouter wiring: registry spec (sk-orca- key prefix, default base URL), ProvidersConfig field, WebUI icon/brand + deferred model list, docs, and tests.
This commit is contained in:
XiaoHuo888
2026-08-16 00:26:51 +08:00
committed by Xubin Ren
parent 50391b2fb7
commit fd2d419956
7 changed files with 152 additions and 0 deletions
@@ -52,6 +52,7 @@ const DEFERRED_MODEL_LIST_PROVIDERS = new Set([
"novita",
"ollama",
"openrouter",
"orcarouter",
"ovms",
"siliconflow",
"vllm",
@@ -577,6 +578,7 @@ export function optionRowsWithCurrent(
export const PROVIDER_ICONS: Record<string, LucideIcon> = {
custom: Hexagon,
openrouter: Sparkles,
orcarouter: Sparkles,
skywork: Sparkles,
aihubmix: Triangle,
anthropic: Brain,
+1
View File
@@ -184,6 +184,7 @@ const PROVIDER_BRANDS: Record<string, ProviderBrand> = {
ollama: brand("ollama.com", "#111827", "O"),
openai: brand("openai.com", "#111827", "AI"),
openrouter: brand("openrouter.ai", "#111827", "OR"),
orcarouter: brand("orcarouter.ai", "#111827", "OR"),
ovms: brand("openvino.ai", "#0071C5", "OV"),
qianfan: brand("cloud.baidu.com", "#2932E1", "QF"),
searxng: brand("searxng.org", "#3050FF", "SX"),