-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
How to stop stream? #290
Comments
You'd have to implement a stop button in the UI that stops the stream before it's done here This solution, although not the most refactored is actually much better than useChat. |
How can I use this on client side? Can you give an example? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
I want to stop an ongoing stream by pressing the button. I also want to prevent new messages from being entered while the stream continues. In older versions, it was easy to do this because useChat() was used, but now I have no idea how to do it.
The text was updated successfully, but these errors were encountered: