How about [storing the key in a environment variable](https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety), say `api_key: $OPENAI_KEY`, to put `~/.config/codegpt/.codegpt.yaml` under version control?
How about storing the key in a environment variable, say
api_key: $OPENAI_KEY, to put~/.config/codegpt/.codegpt.yamlunder version control?