Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
通过自定义模型供应商在 Codex CLI 中使用 MaxAPI。
config.toml
安装
npm install -g @openai/codex export MAXAPI_API_KEY="YOUR_API_KEY" mkdir -p ~/.codex
配置供应商
model = "YOUR_MODEL_ID" model_provider = "maxapi" disable_response_storage = true [model_providers.maxapi] name = "MaxAPI" base_url = "https://api.maxapi.ai/v1" env_key = "MAXAPI_API_KEY" wire_api = "responses"
启动
codex
/v1/responses