The ChatGPT app and the Codex CLI use the same setup. They pick their upstream
by named provider in ~/.codex/config.toml, which takes two edits.
Put the first part at the top of the file:
Then put the second part at the bottom:
Set sleev-provider to openai when you use an OpenAI
API key, or codex when you sign in with your ChatGPT account.