-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[bug] stop button doesn't work #114
Comments
Thanks for the report. Will look into it. |
@enricoros any ideas what's causing it or how to fix? |
@Geczy I can't tell. Is it the button that is grayed out, or do you click and nothing happens? |
i click and the chat continues writing you cant tell? did you try it yourself? |
Works for me, that's why I'm asking details. |
please see here for more details. its ok if my api key is leaked, i revoked it after recording this |
Thanks for sharing this, I was wondering how to reproduce. I see something strange going on with the network requests. I'll try to investigate despite not being on Mac. |
@enricoros any ideas about that yet? is there anything else i can try? different browser maybe? |
i tested it in firefox and it does work there to stop ! so it looks like a chrome issue? |
I know that chrome works on windows. Hmmm. On the other hand chrome on macOS also does a poor job of speech recognition, to the point i disabled the whole feature. Very weird. |
I can see it is working on Windows Chrome. Is it fixed? |
Thanks to the Vercel team (@jridgewell), an interruption of the stream on the client side will lead to the cancellation of the TransformStream on the servers side, which in turns cancels the open fetch() to the upstream. This was a long needed change and we are happy to report it works well. Related: #114 - vercel/ai#90 - vercel/edge-runtime#428 - trpc/trpc#4586 (enormous thanks to the tRPC team to issue a quick release as well)
Correct, fixed long ago. |
press stop while it's generating, and it will keep generating
The text was updated successfully, but these errors were encountered: