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:
Xubin RenandCursor authored and Xubin Ren committed 2026-05-02 01:52:04 +08:00
1 parent 051037ff08
commit 861fbb0dde
4 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -344,7 +344,7 @@ nanobot agent -c ~/.nanobot-telegram/config.json -w /tmp/nanobot-telegram-test -
<summary><b>LongCat (OpenAI-compatible)</b></summary>
LongCat is available through nanobot's built-in OpenAI-compatible provider flow.
The default API base already points to `https://api.longcat.chat/openai`, so you
The default API base already points to `https://api.longcat.chat/openai/v1`, so you
usually only need to set `apiKey`.
```json