Closed azinsharaf closed 1 year ago
Make sure it's correctly exported, open terminal and run: echo $OPENAI_API_KEY to validate
using it on Windows.
dir envs:
command returns the correct env variable value.
it seems removing chatgpt.nvim folder in nvim-data parent folder and then installing it again fixed the issue.
I am using a paid plan and has created an env var
OPENAI_API_KEY
submitting any query returns "incorrect api key provided'. The API key in the screenshot below doesn't match with the one i have as env var.