Roo Code 是 VS Code 的 AI 编程助手插件。接入 LLMEasy 时,请选择 OpenAI Compatible 提供商,并使用 Codex 分组模型 ID。Documentation Index
Fetch the complete documentation index at: https://docs.llmeasy.ru/llms.txt
Use this file to discover all available pages before exploring further.
前置条件
- 已安装 VS Code
- 已获取 LLMEasy API Key(注册并获取 (
https://www.llmeasy.ru/register))
安装 Roo Code
打开 VS Code,在扩展市场搜索 Roo Code,点击 Install 安装,安装完成后重启 VS Code。配置步骤
配置 API 提供商
按以下方式填写:
- API Provider →
OpenAI Compatible - Base URL →
https://www.llmeasy.ru/v1 - API Key → 你的 LLMEasy API Key
- Model → 从模型广场 (
https://www.llmeasy.ru/pricing)复制的 Codex 分组模型 ID
仅在官方文档明确要求时再配置额外 headers
我们查到的 Roo Code 官方资料强调 OpenAI-compatible / custom API 接入,但没有把额外
User-Agent 列为 LLMEasy 默认接入的必填项。如果你还接了自定义网关、租户路由或审计服务,再按对应上游服务的官方文档补充所需 headers。Roo Code 的 OpenAI Compatible 提供商需要接口支持 OpenAI 风格 tool calling。若需额外 headers,请以 Roo Code 官方当前版本说明或上游网关要求为准,不要默认把
User-Agent 当作 LLMEasy 必填项。