-
Notifications
You must be signed in to change notification settings - Fork 98
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
The new version 2.2.0 seems to be not working #25
Comments
Is this due to network issues (the API is not responding)? Does switching to the previous version resolve the problem? |
Yep, I revert the branch and it's OK now. |
It's weird... Mine seems to be working fine. Can you provide more details on how to reproduce this problem? |
Maybe because I've add a fetch polyfill? I am using Node 16 and had to polyfill that. |
No,
What's the version of node you're using? In what circumstances will it get stuck? |
Sometimes the API does not respond. Will add a timeout mechanism to fix this. |
Yep, May be the network issue. May not be the Node.js version problem. |
For everyone who is facing issues with order being hanged right now
However, we are not currently satisfied with timeout mechanism on chatgpt-api side since it doesnt count onProgress trigger as request succeed, instead, it just waits for stream to close. I'm currently working on PR for chatgpt-api to add this mechanism and after that fix will be added there. With other nasty feature :D So, please, use timeoutMs for api as temporary solution, there will be fix soon. |
I've added a simple timeout mechanism in #36 as an initial fix. Still waiting for transitive-bullshit/agentic#444 to be merged. |
The queue may be stucked, and can't be released.
It always reply
You are #{n} in line.
The text was updated successfully, but these errors were encountered: