Documentation Index
Fetch the complete documentation index at: https://docs.momoapi.top/llms.txt Use this file to discover all available pages before exploring further.
Codex CLI配置使用教程
Codex CLI 使用 OpenAI 兼容接口,因此 Momoapi 地址需要追加/v1。
配置目录:
如果
.codex 目录不存在,请先创建目录。
创建或编辑 config.toml:
auth.json:
保存后重启终端,在项目目录运行:
config.toml是否位于.codex目录。auth.json是否位于同一个.codex目录。base_url是否为https://momoapi.top/v1。OPENAI_API_KEY是否属于 Codex 分组。model是否为 Momoapi 控制台实际可用模型。