Configure and use OpenAI Codex in your command line through AiHubMix
.zshrc
or .bashrc
) and add the following environment variables:
OPENAI_API_KEY
should be your AiHubMix key. The variable name remains OPENAI_API_KEY
for compatibility with the OpenAI native client.codex
command:
codex-mini-latest
- a fine-tuned version of o4-mini
specifically for use in Codex CLI, which can be modified in ~/.codex/config.json
~/.codex/instructions.md
file to tailor the AI assistant’s behavior