Cline 是 VS Code 中的 AI 编程助手插件,支持代码生成、解释与自动修复。通过 DeerAPI,可在 Cline 中接入 OpenAI 兼容格式的各类模型。Documentation Index
Fetch the complete documentation index at: https://apidoc.deerapi.com/llms.txt
Use this file to discover all available pages before exploring further.
准备工作
获取 DeerAPI API Key
API 配置
调用测试
配置完成后,在 Cline 中输入代码生成指令(如「帮我写一个 Python Hello World」)。若返回正常结果,说明配置成功。若调用失败,确认 Base URL 末尾包含
/v1,API Key 格式为 sk- 开头。




