跳转到主要内容

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.

Kilo Code 是 VS Code 插件。接入 LLMEasy 时,请选择 OpenAI Compatible 提供商,并使用 Codex 分组模型 ID。

前置条件

  • 已安装 VS Code
  • 已获取 LLMEasy API Key(注册并获取 (https://www.llmeasy.ru/register))

配置步骤

1

清除冲突的环境变量

unset OPENAI_API_KEY
unset OPENAI_BASE_URL
2

打开 Kilo Code 设置

打开 Kilo Code 的设置界面。
3

配置 API 提供商

按以下方式填写:
  • API ProviderOpenAI Compatible
  • Base URLhttps://www.llmeasy.ru/v1
  • API Key → 你的 LLMEasy API Key
  • Model → 从模型广场 (https://www.llmeasy.ru/pricing)复制的 Codex 分组模型 ID
4

仅在官方文档明确要求时再配置额外 headers

我们查到的 Kilo Code 官方资料提到 OpenAI-compatible provider 支持可选自定义 headers,但没有把 User-Agent 列为 LLMEasy 默认接入的必填项。如果你还接了自定义网关、租户路由或审计服务,再按对应上游服务的官方文档补充所需 headers。
5

重启 Kilo Code

修改配置后,请重启 VS Code 或重新加载 Kilo Code 插件,使新配置生效。
如需额外 headers,请以 Kilo Code 官方当前版本说明或上游网关要求为准,不要默认把 User-Agent 当作 LLMEasy 必填项。