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
@@ -3132,6 +3132,10 @@ async def test_settings_api_returns_safe_subset_and_updates_whitelist(
assert providers["azure_openai"]["api_key_required"] is False # AAD auth supported; no static key required
assert providers["openrouter"]["configured"] is False
assert providers["openrouter"]["api_key_required"] is True
assert providers["orcarouter"]["label"] == "OrcaRouter"
assert providers["orcarouter"]["configured"] is False
assert providers["orcarouter"]["api_key_required"] is True
assert providers["orcarouter"]["default_api_base"] == "https://api.orcarouter.ai/v1"
assert providers["skywork"]["label"] == "Skywork"
assert providers["skywork"]["default_api_base"] == "https://api.apifree.ai/agent/v1"
assert providers["ant_ling"]["label"] == "Ant Ling"