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

# Cline

> VS Code 中功能最强的 AI 编程扩展之一，支持自主完成复杂编程任务，通过 OpenAI 兼容接口接入 ePhone AI。

[Cline](https://github.com/cline/cline) 是一款 VS Code AI 编程扩展，支持自主读写文件、执行终端命令、调用浏览器等能力，可完成从需求到实现的完整编程任务。

## 安装与配置

**1. 安装 Cline 扩展**

在 VS Code 扩展市场搜索 **Cline** 并安装，或直接访问：
[VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev)

**2. 打开 Cline 配置**

按 `Ctrl/Cmd + Shift + P`，搜索并选择 **Cline: Open in New Tab**，打开 Cline 面板。

点击右上角的 **Settings（齿轮图标）** 进入配置页面。

**3. 填写 API 配置**

* **API Provider**：选择 `OpenAI Compatible`
* **Base URL**：`https://api.ephone.ai/v1`
* **API Key**：填入您的 ePhone AI API Key
* **Model**：填入要使用的模型名称，如 `gpt-4o` 或 `claude-opus-4-5-20251101`

填写完成后点击 **Save** 保存。

**4. 开始使用**

回到 Cline 面板，在输入框中描述您的任务，Cline 将自动分析代码库并执行操作。

## 推荐模型

| 场景 | 推荐模型 |
| - | - |
| 通用编程任务 | `gpt-4o` |
| 复杂 Agent 任务 | `claude-opus-4-5-20251101` |
| 快速轻量任务 | `gpt-4o-mini` |

## 注意事项

> [!WARNING]
>
> Cline 的 Agent 模式会自动读写文件和执行命令，请在受信任的项目目录中使用，并注意审查每一步操作。

* 使用 `claude-*` 模型时，也可将 Provider 切换为 `Anthropic`，Base URL 填入 `https://api.ephone.ai/anthropic`
* Cline 支持自定义系统提示，可在设置中配置项目级别的规则


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