I would like to open the editor and be able to use the ChatGPT extension without needing to log in via browser or store the OpenAI api key in a workspace file. Ideally, I would be able to use the environment variable stored in .zshenv.
I know that Visual Studio Code allows for some environment variables to be set but not all via ${ENV_EXAMPLE} but this has not worked for me in the settings.json file:
{
"chatgpt.response.showNotification": true,
"chatgpt.gpt3.maxTokens": 2048,
"chatgpt.gpt3.apiKey": "${OPEN_AI_API_KEY}",
}