开始前
请先确认你已经完成以下准备:- 已在服务控制台创建 API 密钥
- 已安装 Codex 对应插件
配置步骤
Codex IDE 插件通常读取与 CLI 相同的配置文件,因此建议先完成以下文件配置:- 重新打开 VSCode、Cursor 或对应 IDE
- 打开 Codex 插件
- 确认插件读取到当前配置
验证方式
- 打开 Codex 插件
- 发送一个简单问题,例如
hi - 若插件能正常返回结果,则说明配置成功
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
将 Codex 在 IDE 中接入兼容 OpenAI API 的第三方服务。
~/.codex/config.toml
~/.codex/auth.json
hi