> ## 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-tw/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-tw/models)。


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