TheR1D / shell_gpt

A command-line productivity tool powered by AI large language models like GPT-4, will help you accomplish your tasks faster and more efficiently.
MIT License
8.81k stars 693 forks source link

I accidentally put the wrong api key, now I can't use it? #549

Open Pohie opened 2 months ago

Pohie commented 2 months ago

I put in the wrong api key, and now I can't change it... I can't find any options for doing so.

VincentTupper commented 2 months ago

You can find your API key in the following file: (general file path for MacOS) /Users/username/.config/shell_gpt/.sgptrc

There will be a line as such: OPENAI_API_KEY=uegd97wagd9wbd8wahg9db

Also ensure hidden files are on -> Command + Shift + .