Coder Social home page Coder Social logo

Comments (11)

gregid avatar gregid commented on July 19, 2024 1

In order to reproduce it you need to get timed out error first. Then when you try after timeout you will get 429 that keeps with every following request.

from vscode-chatgpt.

gregid avatar gregid commented on July 19, 2024 1

I believe timeout error is crucial for reproducing - also each time the error happened was from the conversation window.

from vscode-chatgpt.

gregid avatar gregid commented on July 19, 2024

OK, something interesting is happening - clicking the new button Clear conversation also fixes the problem (without reloading window). This may indicate that the problem lies somewhere else than 429.

from vscode-chatgpt.

gencay avatar gencay commented on July 19, 2024

429 is basically a Too many requests error. Meaning that you need to give it a few moments to retry. Clear conversation re-instantiates the chatgpt api. OpenAI APIs rate-limit requests coming from outside of their web apps. The reason why it started working for you after a clear conversation, could be that you gave a few moments to retry submitting your request.

from vscode-chatgpt.

gregid avatar gregid commented on July 19, 2024

I don't think so - I've had this situation at least 10 times - no matter how much time I gave it didn't help, clearing session also didn't help only reloading window or now clearing conversation helps.
I cleared conversation 1 second after I tried to send query (and got the error again).

from vscode-chatgpt.

gencay avatar gencay commented on July 19, 2024

Alright, let me try to reproduce the issue on my end. Thanks a lot for reporting it!

from vscode-chatgpt.

gencay avatar gencay commented on July 19, 2024

My repro scenario:

  • I keep hitting Add Tests until I see a 429
  • Once in 429 error state, all my next queries run into 429
  • I wait for a few seconds (Until I see a response for the very first question I asked initially)
  • After I receive a response, I am able to send new prompts without errors
  • During this I don't restart vscode nor do I clear conversation.

I cannot repro your problem but I need to wait until I get a response for my initial request that I didn't receive a 429 for.

from vscode-chatgpt.

gencay avatar gencay commented on July 19, 2024

Ok. I will try to repro again.

There were a few error handling updates on the API wrapper package I'm using. I did update it to latest in case that'd help. It's on v1.6.2 and is being rolled-out to marketplace now.

from vscode-chatgpt.

gregid avatar gregid commented on July 19, 2024

OK, got 1.6.2 already - will be hunting for elusive timeout :)

from vscode-chatgpt.

gencay avatar gencay commented on July 19, 2024

Seems like other people are also seeing this: transitive-bullshit/agentic#111 . Closing this since it's on OpenAI to block requests after a timeout. Clearing conversation / Resetting thread will help unblock the flow.

from vscode-chatgpt.

gencay avatar gencay commented on July 19, 2024

Resurrecting this thread since with v2, the extension will now work flawless using the browser behind the scenes for the ChatGPT prompts. FYI @gregid please update your extension to latest and let it log you in, keep the browser open and ask ChatGPT your questions as usual.

from vscode-chatgpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.