Comments (11)
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.
I believe timeout error is crucial for reproducing - also each time the error happened was from the conversation window.
from vscode-chatgpt.
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.
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.
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.
Alright, let me try to reproduce the issue on my end. Thanks a lot for reporting it!
from vscode-chatgpt.
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.
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.
OK, got 1.6.2 already - will be hunting for elusive timeout :)
from vscode-chatgpt.
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.
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)
- UI bug in actions window HOT 3
- Will repeat the answer to the previous question HOT 1
- Ability to delete/remove user/agent response from chat HOT 1
- Addition of GPT-4 model HOT 10
- Localization contributions - Chinese HOT 1
- Feature request: Easier switching between ChatGpt and 3.5 turbo (browser login vs API) HOT 2
- Azure OpenAI API Support HOT 2
- 版本兼容问题 HOT 3
- Query about the assistant role HOT 1
- Unable to login, make sure to login and keep your browser open... On Windows 11 HOT 1
- I am not able to find "login" of the extension as described in readme HOT 3
- [Feature Request]: Smart code formatting based on context HOT 2
- Cannot log in on Fedora 37 HOT 1
- ChatGPT for VS Code deprecated & open-sourced HOT 57
- can you integrate edge api in the genie extension HOT 1
- Cannot compile by the project HOT 2
- Why are multiple response records displayed HOT 4
- This thing would be damn near perfect if... HOT 1
- help: How to get chatGPT(not OpenAI api) QA-list? (like previous vscode-chatgpt)
- ERR api-request-failed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-chatgpt.