feat(provider): add LongCat via OpenAI-compatible backend

This commit is contained in:
moranfong authored and Xubin Ren committed 2026-05-02 01:52:04 +08:00
1 parent ee364c6ac1
commit 051037ff08
5 files changed
+101

No files matched your search

+9
View File
@@ -376,6 +376,15 @@ PROVIDERS: tuple[ProviderSpec, ...] = (
backend="openai_compat",
default_api_base="https://api.xiaomimimo.com/v1",
),
# LongCat: OpenAI-compatible API
ProviderSpec(
name="longcat",
keywords=("longcat",),
env_key="LONGCAT_API_KEY",
display_name="LongCat",
backend="openai_compat",
default_api_base="https://api.longcat.chat/openai",
),
# === Local deployment (matched by config key, NOT by api_base) =========
# vLLM / any OpenAI-compatible local server
ProviderSpec(