gencay / vscode-chatgpt

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

Development Mode JWT token not accepting. #116

Closed satishsalesforce closed 1 year ago

satishsalesforce commented 1 year ago

HI I am runnning this extension in the development mode and it is not asking to login and in the prompt asking JWT token. After getting token from https://chat.openai.com/api/auth/session getting error cannot initiate the ChatGPT. Please help where I am going wrong.

Screenshot 2023-02-10 at 12 21 06
gencay commented 1 year ago

Please make sure you use the recommended methods to use this extension. I'd suggest resetting all of your settings to default and use API Key method. It will then ask you to input your API Key (i.e. sk-*). It's likely you have used this extension before with the Manual Login method but it's now deprecated. Here are the only two methods now:

image

satishsalesforce commented 1 year ago

Thanks, @gencay In the development mode I am not getting to configure the Integration preference. only 4 options I am getting. attached screenshot. Anything I am missing?

Screenshot 2023-02-11 at 07 18 23
gencay commented 1 year ago

Your extension seems way outdated, could you check your extension version? The latest is v3.5.10

satishsalesforce commented 1 year ago

@gencay I cloned the latest code from the master branch. And running in the development mode, https://github.com/gencay/vscode-chatgpt. I don't see any specific branch. Any specific setting or config I need to modify?

is the latest working code in the marketplace is in the master branch?

Even I cloned this https://github.com/gencay/vscode-chatgpt/releases/tag/v3.5.0 and tried, output is same.