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

Implement Timeout Configuration for Response and Stream Waiting #175

Open
xgen20 opened this issue Apr 24, 2024 · 1 comment
Open

Implement Timeout Configuration for Response and Stream Waiting #175

xgen20 opened this issue Apr 24, 2024 · 1 comment
Labels
feature New feature or request

Comments

@xgen20
Copy link

xgen20 commented Apr 24, 2024

I suggest implementing the ability to configure the timeout for waiting for a response and waiting for a response stream. Because in my case, it's not always enough to receive a response from GPT-4 (chat to API version). The response sometimes takes 2+ minutes to write, and the Сhat Nio stops processing the stream after 1-2 minutes. And if the API doesn't send anything at all, it resets the request after 20+ seconds and makes a new attempt. I would like to have the ability to adjust this parameter for each channel, as well as the parameter for the maximum waiting time for the stream.

@zmh-program
Copy link
Member

good suggestion, consider implementing

@zmh-program zmh-program added the feature New feature or request label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants