安装
使用 CC Switch 配置(推荐)
打开 CC Switch,选择顶部 Codex 标签,点击 + 添加配置:| 字段 | 填写内容 |
|---|---|
| 供应商名称 | 自定义,如 oursai_codex |
| API Key | 你的 Key |
| 请求地址 | https://oursai.info/v1 |
手动配置
编辑~/.codex/config.toml:
切换模型
修改config.toml 中的 model 字段,或启动时指定:
在 OpenAI Codex CLI 中配置 Ours AI
| 字段 | 填写内容 |
|---|---|
| 供应商名称 | 自定义,如 oursai_codex |
| API Key | 你的 Key |
| 请求地址 | https://oursai.info/v1 |
~/.codex/config.toml:
config.toml 中的 model 字段,或启动时指定: