Closed ManuCanedo closed 1 year ago
Disclaimer: I'm just some guy, I don't have all of the answers so take whatever I say with a grain of salt.
That being said, I've been running into something similar. ChatGPT Plus support does already exist for this extension, but it seems to be in a semi-broken state. There was—and still may be, more on that below—a workaround, but it's definitely not ideal.
You can probably use a proxy server for this, but I personally haven't figured that out yet and it seems to have its own issues as well. Here's what worked for me, at least up until today.
@ext:gencay.vscode-chatgpt chatgpt.
in the settings' search bar)You'll know it worked if the login page opens to a different one than your provided screenshot. If you gave your login credentials to the extension in settings, you'll see that info being entered automatically.
This should be everything you need, but I've found that when a session expires I have to disable, reload VSCode, and re-enable the extension (sometimes more than once). Given how finicky this part is, the steps mentioned above may not work at all.
It seems like the auto-auth step for ChatGPT Plus users runs a script to log you in. Basically this means it will take the info provided in the settings earlier, and quickly—but manually—enter that info to the ChatGPT authorization webpage. Since this process is manual and doesn't use an OpenAI API, when OpenAI updates their website the script is rendered obsolete and needs to be rewritten.
Give The Workaround above a shot, but don't get your hopes up. The login process is probably temporarily broken for ChatGPT Plus users until one of the following happens:
In the meantime, you can always cancel your ChatGPT Plus subscription, get a secret key from OpenAI, and give that to the extension. That side of things does use an official OpenAI API which should make the process much smoother—albeit less consistent, price-wise.
I have ChatGPT Plus and to get around this I follow these steps:
I enter my email address and request the personalized link. I copy the link from the email and paste it into the VSCode ChatGPT window. (Note: Do not click the link directly from the email.) I can reuse the same link multiple times on the same day. I am not sure if this works for different days.
Hope that helped.
What @Trahloc suggests is correct. If you receive a magic link to login, you need to open that link on the same tab in the window extension is opening. Otherwise, there is no way for the extension to hook into the browser's network for sending/receiving api calls.
Updated the Readme with the information, the Magic Links should be opened on the same tab that the extension is opening: https://github.com/gencay/vscode-chatgpt#browser-setup
Hi!
I am subscribed to ChatGPT Plus, and whenever regular ChatGPT is out of capacity, I can not log in. I am prompted with the following screen:
Is it planned to add support to ChatGPT Plus?