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:
committed by
Xubin Ren
co-authored by
Cursor
parent
051037ff08
commit
861fbb0dde
@@ -307,6 +307,7 @@ def test_config_explicit_longcat_provider_resolves_provider_name():
|
||||
)
|
||||
|
||||
assert config.get_provider_name() == "longcat"
|
||||
assert config.get_api_base() == "https://api.longcat.chat/openai/v1"
|
||||
|
||||
|
||||
def test_config_auto_detects_longcat_from_model_keyword():
|
||||
|
||||
Reference in New Issue
Block a user