gencay / vscode-chatgpt

An unofficial Visual Studio Code - OpenAI ChatGPT integration
ISC License
3.5k stars 755 forks source link

How to update API KEY #171

Closed YaswanthDasamandam closed 1 year ago

gencay commented 1 year ago

If you set it up on your settings.json, you can update it there. If you stored your API Key in session you can run the command:

  1. Open the command palette using: ctrl+shift+p
  2. Run this command to reset your session: ChatGPT: Reset session
  3. The next time you ask a question, it will ask you to enter your api key again. You can store it either in settings.json or in your session(Recommended)
YaswanthDasamandam commented 1 year ago

Thanks