客户端接入
Continue 接入
Continue 当前使用 YAML 配置。请创建 OpenAI-compatible 输出的配置 API,然后编辑 ~/.continue/config.yaml。
name: Lumoswitch
version: 1.0.0
schema: v1
models:
- name: Lumoswitch
provider: openai
model: "your-client-facing-model-name"
apiBase: "https://api.lumoswitch.com/v1"
apiKey: "your-lumoswitch-access-key"
capabilities:
- tool_use如果文件已有 models,只追加模型项,不要覆盖其他配置。保存后重新加载 VS Code 或 JetBrains 窗口,并从模型选择器选择 Lumoswitch。
注意事项
- 只有模型和配置 API 确实支持工具调用时才保留
tool_use。 - 配置文件含明文 Access Key,不要提交到 Git 或公开同步。
- 模型不存在时,检查
model是否为配置 API 的对外模型名称。