auto-commit
auto-commit copied to clipboard
Read `OPENAI_API_KEY` from config
I've used a handful of tools that use codex, and so far most have been able to read the API key from a file, as well as ENV. This is pretty convenient, since I've been able to reference a few of them to the same ~/.config/openaiapirc file, while others have their own folder within ~/.config.