# Continue 配置指南

> 在 Continue 的 config.yaml 里用 OpenAI 兼容 provider 接入 LLMoxy。

网址：[https://www.continue.dev（单击跳转）](https://www.continue.dev)

Continue 是 VS Code / JetBrains 的开源插件。配置文件：`~/.continue/config.yaml`。

开始前准备一把 [LLMoxy 令牌](https://llmoxy.com/docs/get-started/get-token)，建议用 **auto** 分组。

## 配置

安装 Continue 后，写入：

```yaml
name: LLMoxy
version: 0.0.1
schema: v1
models:
  - name: LLMoxy GPT
    provider: openai
    model: grok-4.7
    apiBase: https://llmoxy.com/v1
    apiKey: 你的LLMoxy API Key
    capabilities:
      - tool_use
    roles:
      - chat
      - edit
      - apply
```

| 字段 | 值 |
| --- | --- |
| `provider` | `openai`（走 OpenAI 兼容） |
| `apiBase` | `https://llmoxy.com/v1` |
| `apiKey` | LLMoxy 令牌 |
| `model` | 控制台里的准确 ID |

保存后重启 Continue 或重新打开 IDE，在模型列表里选 **LLMoxy GPT**。

本文是 https://llmoxy.com/docs/code-tutorials/continue 的 markdown 版本。
