Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow Response and Timeout Error when using ChatGPT in Visual Studio Code #12

Closed
devxi opened this issue Feb 13, 2023 · 2 comments
Closed

Comments

@devxi
Copy link

devxi commented Feb 13, 2023

Dear Author,

I hope this message finds you well. I have been using your ChatGPT extension for Visual Studio Code for the past few days, and initially, it was working great with fast responses. However, suddenly the extension started to respond very slowly, and eventually, I received a timeout error.

I have checked my network connection and I am confident that it is not an issue with my network. I have also compared my experience with the official ChatGPT web page, and it is working perfectly fine.

Upon reviewing the Visual Studio Code developer logs, I found the following error message: "ChatGPT error 404" and "TimeoutError: ChatGPT timed out waiting for response".

I would greatly appreciate it if you could help me resolve this issue. Let me know if there is any additional information that I can provide to assist with troubleshooting.

Thank you for your time and effort in creating this extension.

Best regards,
nothing

@timkmecl
Copy link
Owner

Hi @devxi, unfortunately OpenAI disabled the model that was used in the backend, so the extension doesn't work at the moment - there is nothing wrong at your end. Currently, the only options for making it work would be either using GPT3 instead of ChatGPT which could cost users money (and you can already do this using my other extension CodeGPT), or potentialy using a reverse proxy someone has set up for connecting to ChatGPT, but that would mean exposing users' API keys to an untrusted third party which could be a security risk.

I am planning on updating the extension as soon as there is another, hopefully official method to connect to ChatGPT. My apologies for the current situation.

@timkmecl
Copy link
Owner

timkmecl commented Mar 2, 2023

The extension now uses the official API released this week, so this is now fixed.

@timkmecl timkmecl closed this as completed Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants