Cline
用 OpenAI Compatible 供應商即可,所有模型都走這條,包括 Claude。
kano-proxy CLI 不支援設定 Cline,請手動設定。
手動設定
- 在 Access 頁面建立一把 key。
- 在 Cline 設定裡選 API Provider: OpenAI Compatible。
- 填入以下欄位:
| 欄位 | 值 |
|---|---|
| Base URL | https://<your-domain>/openai/v1 |
| API Key | <your-api-key> |
| Model ID | 你 Models 頁面上的 id,例如 claude-code/claude-opus-5 |
記得包含 /v1。Cline 會原樣使用 base URL,再接上 /chat/completions。
Cline 會向 proxy 讀取 GET /openai/v1/models,所以你的 id 會出現在它的模型下拉選單。沒出現的話,選 Use custom model ID 自己輸入。模型 id 的規則見端點與模型 id。
為什麼不用 Anthropic 供應商
Cline 的 Anthropic 供應商有 Use custom base URL 選項。它會送到 <base>/messages,所以值必須是 https://<your-domain>/anthropic/v1。但它的模型選單只有 Cline 內建的 Claude 名稱,無法輸入 claude-code/claude-opus-5,而 proxy 會拒絕沒有前綴的名稱。請留在 OpenAI Compatible。
確認可用
在 Cline 送出一則訊息。幾秒內 Logs 頁面就會出現這筆請求。
限制
- 不能用 Anthropic 供應商,原因見上方。
查證來源
Cline 文件與原始碼,2026-09-04:OpenAI Compatible、Anthropic,以及 cline 儲存庫的供應商程式碼。/v1 的要求與缺少自訂模型欄位這兩點是從原始碼確認的,文件沒有寫。