fix(provider): correct LongCat OpenAI base URL
Use the SDK-ready /v1 base so LongCat chat completions hit the documented endpoint. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
051037ff08
commit
861fbb0dde
4 files changed
+4
-3
No files matched your search
@@ -383,7 +383,7 @@ PROVIDERS: tuple[ProviderSpec, ...] = (
|
||||
env_key="LONGCAT_API_KEY",
|
||||
display_name="LongCat",
|
||||
backend="openai_compat",
|
||||
default_api_base="https://api.longcat.chat/openai",
|
||||
default_api_base="https://api.longcat.chat/openai/v1",
|
||||
),
|
||||
# === Local deployment (matched by config key, NOT by api_base) =========
|
||||
# vLLM / any OpenAI-compatible local server
|
||||
|
||||
Reference in new issue
Block a user