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

# Cline / Roo Code

> 为 Cline 与 Roo Code 配置 OpenAI Compatible

Cline 和 Roo Code 是两个 VS Code 扩展，配置方式相同。

<Steps>
  <Step title="打开扩展设置">
    点击 Cline（或 Roo Code）聊天面板右上角的齿轮图标。
  </Step>

  <Step title="选择 OpenAI Compatible 并填写">
    | 字段 | 填写 |
    | - | - |
    | **API Provider** | `OpenAI Compatible` |
    | **Base URL** | `https://gpt.teamsoclo.site/v1` |
    | **API Key** | `sk-xxx` |
    | **Model ID** | `gpt-5.6-sol`（Astra 套餐：`gpt-astra`） |
  </Step>

  <Step title="保存并测试">
    点击 **Done**，随便发一条消息验证。
  </Step>
</Steps>

<Warning>
  必须选择 **OpenAI Compatible**，而不是 **OpenAI**。选了 `OpenAI` 扩展会忽略你的 Base URL，直接请求 OpenAI。
</Warning>

<Warning>
  **Model ID** 是自由输入框，没有下拉列表。拼错会立即报错，请从 [模型表](/zh/models) 复制。
</Warning>

<Tip>
  Cline 每轮都会附带文件内容。大项目中请用 `@file` 只指定需要的文件，换任务时点击 **New Task**；旧任务越长，每条消息越贵。
</Tip>

## 如果报错

* **404**：某些 Cline 版本会自动追加 `/v1`，试试 Base URL 只填 `https://gpt.teamsoclo.site`。
* **不支持的参数**：在 Advanced Settings 中清空或降低 **Max Tokens**，如有 **Enable extended thinking** 则关闭。
* **`No available channel for model`**：模型不属于该 Key 的套餐，见 [模型](/zh/models)。


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