fix(settings): use a setup template for ShengSuanYun

This commit is contained in:
Xubin Ren committed 2026-11-14 20:44:28 +08:00
1 parent eb1df4d7b1
commit 221e121387
13 files changed
+142 -239

No files matched your search

+1 -1
View File
@@ -304,7 +304,7 @@ A Base URL is the service address nanobot sends model requests to. Change it onl
> - **Kimi Coding Plan**: Use `providers.kimiCoding` with `provider: "kimi_coding"` for Kimi's dedicated Anthropic Messages API endpoint. The endpoint requires a Claude-compatible `User-Agent`; nanobot sends `claude-code/0.1.0` by default, and you can override it with `extraHeaders.User-Agent` if your account requires a different value.
> - **VolcEngine / BytePlus Coding Plan**: Subscription endpoints are configured through dedicated providers `volcengineCodingPlan` or `byteplusCodingPlan`, separate from the pay-per-use `volcengine` / `byteplus` providers.
> - **OpenCode Zen / Go**: `providers.opencode` (canonical Zen), the legacy-compatible `providers.opencodeZen`, and `providers.opencodeGo` use the same `OPENCODE_API_KEY`, but route to different OpenCode gateways. These providers use OpenCode's OpenAI-compatible `chat/completions` endpoints; choose model IDs from that endpoint family.
> - **ShengSuanYun (胜算云)**: The built-in connection uses `providers.shengsuanyunRouter` and `provider: "shengsuanyun_router"`. Keep the model's namespace, for example `deepseek/deepseek-v4-flash`. Chat Completions is the default; select Responses in a preset's **Advanced options** only for a model that [ShengSuanYun lists as supporting it](https://lean.shengsuanyun.com/openai-api). Existing custom connections named `shengsuanyun` continue to work as configured.
> - **ShengSuanYun (胜算云)**: Search for **ShengSuanYun Router** in **Add provider** to prefill the [Router API URL](https://lean.shengsuanyun.com/apidocs/guides/quick-start). Enter your API key and save the custom connection. Use the full model ID, for example `deepseek/deepseek-v4-flash`. Chat Completions is the default; select Responses in a preset's **Advanced options** only for a model that supports it.
> - **Zhipu Coding Plan**: If you're on Zhipu's coding plan, open the zhipu connection in **Settings → Models** and set its base URL to `https://open.bigmodel.cn/api/coding/paas/v4`.
> - **Alibaba Cloud BaiLian**: The built-in `dashscope` provider already defaults to `https://dashscope.aliyuncs.com/compatible-mode/v1`; no endpoint override is needed for that service.
> - **ModelScope**: The built-in `modelscope` provider already defaults to `https://api-inference.modelscope.cn/v1`; no endpoint override is needed for that service.