jackMort / ChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API
Apache License 2.0
3.71k stars 310 forks source link

Incorrect API key provided #307

Closed carere closed 11 months ago

carere commented 11 months ago

Hello, I got this error when trying sending message to the chat. The problem is that my key is correct, since I use it to make some calls in CURL, and I get some responses. I'm totally stuck, since I also looked at other issues posted before on the same subject, but my problem seems different. Is there a way to see some logs for chatgpt.nvim that I could share in order to investigate on this issue ??

carere commented 11 months ago

My bad, I was mispelling the env var 😅 But, don't know why echo 'my-ap-key' do not work when configuring the plugin