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兼容性
Chat Completions流式传输工具调用
逐步设置
- 1打开 Continue 配置
编辑 ~/.continue/config.yaml(macOS/Linux)或 %USERPROFILE%\.continue\config.yaml(Windows)。若文件不存在就新建。
- 2添加模型条目
provider 用 openai,并设置 apiBase。多个模型请分别添加为独立条目。
yamlmodels: - name: UnoRouter model provider: openai model: YOUR_MODEL_ID apiBase: https://api.unorouter.com/v1 apiKey: YOUR_API_KEY - 3保存并重新加载
Continue 会热重载配置。从面板底部的模型选择器中选择 UnoRouter。
推荐模型
在这里可用的免费模型。把任意模型 id 粘贴到客户端即可。
ox-alpha:freeglm-5.3-search:freeglm-5.3-think-search:freeglm-5.3-thinking:freeglm-5.3:free
注意事项
- 请使用 config.yaml,而不是旧版的 config.json。
- 如果某个模型拒绝额外参数,请在该条目上设置 requestOptions.dropParams: ['frequency_penalty','presence_penalty']。