> ## Documentation Index
> Fetch the complete documentation index at: https://docs.acedata.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# WorkBuddy 自定义模型配置指南

> AceDataCloud Coding Plan 集成指南 - Ace Data Cloud

## 1. 获取 API Key

打开 [Ace Data Cloud 应用列表](https://platform.acedata.cloud/console/applications)，进入可用的应用并复制 API Key。

![获取 Ace Data Cloud API Key](https://cdn.acedata.cloud/dvc3cg.jpg)

## 2. 添加模型

在 WorkBuddy 中进入 **设置 → 模型 → 自定义模型 → 添加模型**，然后填写：

| 字段       | 值                              |
| -------- | ------------------------------ |
| Provider | `Custom`                       |
| 接口地址     | `https://api.acedata.cloud/v1` |
| API Key  | 刚刚复制的 API Key                  |
| 模型名称     | Coding Plan 当前提供的模型 ID         |
| 自定义协议    | 关闭                             |

![WorkBuddy Custom Provider 配置界面](https://cdn.acedata.cloud/189027b68722.png)

> 能力开关请按所选模型的实际支持情况配置。

保持“自定义协议”关闭时，WorkBuddy 会按 OpenAI Chat Completions 规则补全路径。高级能力开关（工具、图片、推理）只按所选模型的实际能力开启；不确定时先保持默认。

## 3. 验证

保存后，在聊天模型选择器中选择刚添加的模型并发送 `Reply only OK`。再执行一次只读文件或工具任务，确认所需能力可用；调用记录可在 [使用历史](https://platform.acedata.cloud/console/usages) 查看。

如果模型没有出现，确认配置已保存并启用；401 检查 Key；404 检查模型 ID 和接口地址。WorkBuddy 官方说明 Key 保存在本地配置中，但请求内容仍会发送到所配置的模型服务。

## 官方参考

* [WorkBuddy](https://www.codebuddy.cn/workbuddy)
* [WorkBuddy 模型配置](https://www.codebuddy.cn/docs/workbuddy/From-Beginner-to-Expert-Guide/Function-Description/Model)
