feat(provider): add LongCat via OpenAI-compatible backend
This commit is contained in:
1 parent
ee364c6ac1
commit
051037ff08
5 files changed
+101
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user