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

# Cline

> 在 VS Code 的 Cline 扩展中配置吉吉API。

[Cline](https://cline.bot) 是 VS Code 中的开源 AI 编程助手扩展，可以读写文件、执行命令，完成多步骤的编程任务。

## 安装

在 VS Code 扩展市场搜索 **Cline** 并安装。Cursor、Windsurf 等基于 VS Code 的编辑器同样适用。

## 配置

点击侧边栏的 Cline 图标，打开设置（齿轮图标），按要使用的模型选择 **API Provider**：

<Tabs>
  <Tab title="Claude 模型（推荐）">
    | 字段 | 填写内容 |
    | - | - |
    | API Provider | `Anthropic` |
    | API Key | 你的 API Key |
    | Use custom base URL | 勾选，填入 `https://www.jiji.cc` |
    | Model | 选择 Claude 模型 |

    <Warning>
      Anthropic 格式的请求地址**不要**加 `/v1`。
    </Warning>
  </Tab>

  <Tab title="GPT 及其他模型">
    | 字段 | 填写内容 |
    | - | - |
    | API Provider | `OpenAI Compatible` |
    | Base URL | `https://www.jiji.cc/v1` |
    | API Key | 你的 API Key |
    | Model ID | 例如 `gpt-6.1-sol` |
  </Tab>
</Tabs>

保存后，在 Cline 对话框中发送一条消息，能正常回复即配置完成。

<Tip>
  可用的模型 ID 以 [模型广场](https://www.jiji.cc/extension/models) 为准。Cline 每一步操作都会发送完整上下文，Token 消耗较大，建议给它单独创建一个设置了额度的 Key，见 [API Key 管理](/account/api-keys)。
</Tip>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.