Skip to content
Open
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
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,16 @@ This design also enables **multi-agent support** with flexible provider selectio
}
```

> **Zhipu GLM Coding Plan**: For the Zhipu GLM coding plan endpoint, specify a custom `api_base`:
> ```json
> {
> "model_name": "glm-4.7-coding",
> "model": "zhipu/glm-4.7",
> "api_key": "your-key",
> "api_base": "https://api.z.ai/api/paas/v4"
> }
> ```

**DeepSeek**

```json
Expand Down
10 changes: 10 additions & 0 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,16 @@ Agent 读取 HEARTBEAT.md
}
```

> **智谱 GLM 编码计划(GLM Coding Plan)**: 如需使用智谱 GLM 编码计划端点,可指定自定义 `api_base`:
> ```json
> {
> "model_name": "glm-4.7-coding",
> "model": "zhipu/glm-4.7",
> "api_key": "your-key",
> "api_base": "https://api.z.ai/api/paas/v4"
> }
> ```

**DeepSeek**

```json
Expand Down
7 changes: 7 additions & 0 deletions config/config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@
"model": "openai/gpt-5.2",
"api_key": "sk-key2",
"api_base": "https://api2.example.com/v1"
},
{
"model_name": "glm-4.7",
"model": "zhipu/glm-4.7",
"api_key": "YOUR_ZHIPU_API_KEY",
"api_base": "https://open.bigmodel.cn/api/paas/v4",
"_comment": "Zhipu GLM-4.7 model. For Zhipu GLM coding plan, use api_base: https://api.z.ai/api/paas/v4"
}
],
"channels": {
Expand Down