Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs-lite/en/claude-code-other-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ThinkWatch Lite connects Claude Code to a gateway on the same computer, which fo

1. On the Upstreams page, choose **New upstream** and pick a **Service**:
- **DeepSeek** fills in `https://api.deepseek.com/anthropic` and the protocol. Enter the **API key**.
- GLM with a key: **Custom**, with `https://open.bigmodel.cn/api/anthropic` or `https://api.z.ai/api/anthropic` as the **Base URL**, **Protocol** set to **Anthropic Messages**, and the **API key**.
- GLM with a key: **Custom**, with `https://open.bigmodel.cn/api/anthropic` or `https://api.z.ai/api/anthropic` as the **Base URL**, **Protocol** set to **Anthropic Messages**, and the **API key**. GLM's OpenAI-compatible address also works from ThinkWatch Lite 2026.10.5, with **Protocol** set to **OpenAI Chat Completions**: `https://api.z.ai/api/paas/v4` or `https://open.bigmodel.cn/api/paas/v4`, and `…/api/coding/paas/v4` on a GLM Coding Plan. Claude Code's requests are then converted, so the Anthropic address is the more direct choice.
- GLM with an account: **Z.ai / BigModel account**. Select the **Account service**, tick **Acknowledge the notes above and continue signing in**, choose **Sign in** and authorize in the browser. The app creates an API key named `thinkwatch` on the account and saves the upstream.
- Kimi: **Custom**, with the Anthropic-compatible base URL from Kimi's documentation and **Protocol** set to **Anthropic Messages**. For Kimi For Coding, also turn on **Forward client identity**.

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs-lite/en/codex-other-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ThinkWatch Lite connects Codex to a gateway on the same computer that accepts th

## Steps

1. On the Upstreams page, choose **New upstream** and pick a **Service**: **Anthropic** for Claude, or **Google Gemini**; each fills in the address and protocol. For a relay, choose **Custom**, enter its **Base URL** without an endpoint path such as `/chat/completions`, and set **Protocol** to **OpenAI Chat Completions**. Enter the **API key**, choose **Check connection**, then **Next**. If the relay does not list its models, enter them one per line under **Manual list**. Choose **Next**, then **Create**.
1. On the Upstreams page, choose **New upstream** and pick a **Service**: **Anthropic** for Claude, or **Google Gemini**; each fills in the address and protocol. For a relay, choose **Custom**, enter its **Base URL** without an endpoint path such as `/chat/completions`, and set **Protocol** to **OpenAI Chat Completions**; for GLM, for example, `https://api.z.ai/api/paas/v4`, or `…/api/coding/paas/v4` on a GLM Coding Plan. A base URL that ends with its own version, such as `/v4` or Volcengine Ark's `/api/v3`, is used as written from ThinkWatch Lite 2026.10.5. Enter the **API key**, choose **Check connection**, then **Next**. If the relay does not list its models, enter them one per line under **Manual list**. Choose **Next**, then **Create**.
2. On the Clients page, choose **Connect…** on the Codex row. The dialog shows the change to `~/.codex/config.toml`:

| Field | Value |
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs-lite/zh-CN/claude-code-other-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ThinkWatch Lite 把 Claude Code 接到本机的网关上,网关再把每个请

1. 在「上游」页点击「新建上游」,选择「服务类型」:
- 「DeepSeek」:自动填入 `https://api.deepseek.com/anthropic` 和接口协议,再填写「API 密钥」。
- GLM(API 密钥):选「自定义」,「接口地址」填 `https://open.bigmodel.cn/api/anthropic` 或 `https://api.z.ai/api/anthropic`,「接口协议」选「Anthropic Messages」,再填写「API 密钥」。
- GLM(API 密钥):选「自定义」,「接口地址」填 `https://open.bigmodel.cn/api/anthropic` 或 `https://api.z.ai/api/anthropic`,「接口协议」选「Anthropic Messages」,再填写「API 密钥」。自 ThinkWatch Lite 2026.10.5 起,也可以使用 GLM 的 OpenAI 兼容地址,「接口协议」选「OpenAI Chat Completions」:`https://api.z.ai/api/paas/v4` 或 `https://open.bigmodel.cn/api/paas/v4`,GLM Coding Plan 使用 `…/api/coding/paas/v4`。这时 Claude Code 的请求需要转换格式,因此 Anthropic 地址更直接。
- GLM(账号登录):选「Z.ai / BigModel 账号」,在「账号归属」中选择站点,勾选「已阅读上述说明,继续登录」,点击「登录」并在浏览器中完成授权。应用在该账号中创建一把名为 `thinkwatch` 的 API 密钥,并写入上游。
- Kimi:选「自定义」,「接口地址」填 Kimi 文档给出的兼容 Anthropic 接口的地址,「接口协议」选「Anthropic Messages」。Kimi For Coding 还需打开「转发客户端身份」。

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs-lite/zh-CN/codex-other-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ThinkWatch Lite 把 Codex 接到本机的网关上,网关接收 OpenAI Respons

## 步骤

1. 在「上游」页点击「新建上游」,选择「服务类型」:Claude 选「Anthropic」,Gemini 选「Google Gemini」,接口地址和接口协议会自动填入。中转站选「自定义」,「接口地址」填它的 Base URL(不含 `/chat/completions` 等接口路径),「接口协议」选「OpenAI Chat Completions」。填写「API 密钥」,点击「检测连接」,再点击「下一步」。中转站不提供模型列表时,在「手动清单」中每行填写一个模型 ID。再点击「下一步」,然后点击「创建」。
1. 在「上游」页点击「新建上游」,选择「服务类型」:Claude 选「Anthropic」,Gemini 选「Google Gemini」,接口地址和接口协议会自动填入。中转站选「自定义」,「接口地址」填它的 Base URL(不含 `/chat/completions` 等接口路径),「接口协议」选「OpenAI Chat Completions」;例如 GLM 填 `https://api.z.ai/api/paas/v4`,GLM Coding Plan 填 `…/api/coding/paas/v4`。以自带版本号结尾的地址(如 `/v4`、火山方舟的 `/api/v3`),自 ThinkWatch Lite 2026.10.5 起按原样使用。填写「API 密钥」,点击「检测连接」,再点击「下一步」。中转站不提供模型列表时,在「手动清单」中每行填写一个模型 ID。再点击「下一步」,然后点击「创建」。
2. 在「客户端」页 Codex 一行点击「接管…」。对话框列出对 `~/.codex/config.toml` 的修改:

| 字段 | 写入 |
Expand Down
Loading