搜尋文件...

開始輸入以搜尋文件

continue-dev
Continue.dev

Continue.dev 設定指南

在 Continue 的 config.yaml 中加入一筆 UnoRouter 模型項目。它會在 VSCode 與 JetBrains 中即時重新載入。

概覽

Continue 使用可納入版本控制的 yaml 設定。加入一筆 UnoRouter 模型項目,Continue 就會即時重新載入。

快速設定

把這些貼進用戶端。已登入時會自動填入你的金鑰。

text
基礎 URL: https://api.unorouter.com/v1
API 金鑰: YOUR_API_KEY

登入以自動填入 API 金鑰

相容性

Chat Completions串流工具呼叫

逐步設定

  1. 1
    開啟 Continue 設定

    編輯 ~/.continue/config.yaml(macOS/Linux)或 %USERPROFILE%\.continue\config.yaml(Windows)。若檔案不存在就新建。

  2. 2
    加入模型項目

    provider 使用 openai,並設定 apiBase。多個模型請分別新增為獨立項目。

    yaml
    models:
      - name: UnoRouter model
        provider: openai
        model: YOUR_MODEL_ID
        apiBase: https://api.unorouter.com/v1
        apiKey: YOUR_API_KEY

    登入以自動填入 API 金鑰

  3. 3
    儲存並重新載入

    Continue 會熱重載設定。從面板底部的模型選擇器中選擇 UnoRouter。

推薦模型

在這裡可用的免費模型。把任意模型 id 貼進用戶端即可。

glm-5.3-search:freeglm-5.3-think-search:freeglm-5.3-thinking:freeglm-5.3:freeqwen-3.8-27b:free

注意事項

  • 請使用 config.yaml,而不是舊版的 config.json。
  • 如果某個模型拒絕額外參數,請在該項目上設定 requestOptions.dropParams: ['frequency_penalty','presence_penalty']。
產生 API 金鑰模型