mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
docs(zh): fix leftover restart and routing backup wording
- The routing feature bullet and the quick start still said only Codex and Grok Build may need a restart when a switch changes the model; Gemini CLI does too, as the FAQ already says. - The routing page still said routing backs up the original config and restores it; disabling routing now writes back the direct provider, and the only backup is the one taken before the first write.
This commit is contained in:
1 parent
db468c39f0
commit
59b851969e
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -346,7 +346,7 @@ paru -S cc-switch-bin
|
||||
### 本地路由与故障转移
|
||||
|
||||
- **接口格式转换** — 本地路由在 Anthropic Messages、OpenAI Chat Completions、OpenAI Responses 和 Gemini Native 之间转换请求格式:Claude Code 和 Claude Desktop 可以使用 OpenAI 或 Gemini 格式的供应商,Codex 和 Grok Build 可以使用 Chat Completions 或 Anthropic Messages 格式的供应商
|
||||
- **按工具开启** — Claude Code、Codex、Gemini CLI、Grok Build 可以分别开启本地路由;开启后,切换供应商会立即作用于后续请求(如果切换改变了模型,Codex 和 Grok Build 仍可能需要重启)
|
||||
- **按工具开启** — Claude Code、Codex、Gemini CLI、Grok Build 可以分别开启本地路由;开启后,切换供应商会立即作用于后续请求(如果切换改变了模型,Codex、Gemini CLI 和 Grok Build 仍可能需要重启)
|
||||
- **自动故障转移** — 为每个工具配置故障转移队列,请求失败时按队列顺序自动改用下一个供应商,配合熔断器和供应商健康监控
|
||||
- **整流器** — 自动修正部分上游不兼容的请求(如 Thinking 签名、不支持图片时降级)
|
||||
- 官方供应商(如 Claude Official)不能走本地路由(Codex 的 OpenAI Official 除外)
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
| OpenClaw | 需要关闭并重新打开终端 |
|
||||
| Hermes / Pi / MiniMax Code | 供应商添加后写入工具的配置;Pi、MiniMax Code 在工具里选择要使用的模型,Hermes 可在卡片上点击「启用」设为当前供应商 |
|
||||
|
||||
开启本地路由后,Claude Code、Codex、Gemini CLI、Grok Build 切换供应商会立即作用于后续请求;但如果切换改变了模型,Codex 和 Grok Build 仍可能需要重启。
|
||||
开启本地路由后,Claude Code、Codex、Gemini CLI、Grok Build 切换供应商会立即作用于后续请求;但如果切换改变了模型,Codex、Gemini CLI 和 Grok Build 仍可能需要重启。
|
||||
|
||||
### Claude Code 首次安装提示
|
||||
|
||||
|
||||
@@ -192,7 +192,7 @@ GOOGLE_GEMINI_BASE_URL=http://127.0.0.1:15721
|
||||
|
||||
### 配置备份
|
||||
|
||||
开启路由前,CC Switch 会备份原始配置,关闭时恢复。
|
||||
开启路由不依赖备份:关闭路由时,CC Switch 按直连供应商重新写入配置文件。另外,CC Switch 第一次改写每个配置文件之前,会把原文件备份到 `~/.cc-switch/backups/live-first-write/`。
|
||||
|
||||
## 常见问题
|
||||
|
||||
|
||||
Reference in new issue
Block a user