syousif94/ask-cli

OpenAI API key not persisted on Linux

syousif94 opened this issue · 0 comments

On MacOS, the OpenAI API key is persisted in the user's keychain.

Unfortunately, this is not working on linux in codespaces.

One solution might be saving the key to a text file on the filesystem when the keychain fails, so other programs can steal it.