Read API key from codex config

Resolved 💬 2 comments Opened Apr 16, 2025 by mrturck Closed Apr 16, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator) responded on this thread — see the highlighted reply below.

Instead of exporting the OPENAI_API_KEY in my current terminal, it would be nice to set it in a ~/.codex/config file that can be read from so that I don't need to re-export every session

View original on GitHub ↗

2 Comments

slhck · 1 year ago
tibo-openai collaborator · 1 year ago