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

Add timeout for chatgpt responding #62

Closed
wong2 opened this issue Dec 7, 2022 · 3 comments
Closed

Add timeout for chatgpt responding #62

wong2 opened this issue Dec 7, 2022 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@wong2
Copy link
Owner

wong2 commented Dec 7, 2022

If chatgpt takes too long(>30s?) to response, cancel the request and show and error message.

@wong2 wong2 added good first issue Good for newcomers enhancement New feature or request labels Dec 7, 2022
@hariscs
Copy link

hariscs commented Dec 7, 2022

can i work on this?

@wong2
Copy link
Owner Author

wong2 commented Dec 8, 2022

Sure, go ahead

@alihakimtaskiran
Copy link

30s is set to time out. Is this delay affected from depth of the question, namely so-called "thinking-time" of the algorithm. For clarity, is there any big difference in terms of computation time between asking an extremely hard question and easy question, such as. "Create a research paper about quantum mechanics" vs. "2+2=?".

@wong2 wong2 closed this as completed Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants