Open Theonlyhamstertoh opened 4 months ago
Hey @Theonlyhamstertoh did you end up staying on 3.2.5
or did you migrate away from using /rsc
?
Hey @Theonlyhamstertoh did you end up staying on
3.2.5
or did you migrate away from using/rsc
?
I am using latest, I noticed the issue is still there on my end. I kinda got used to it haha
I am using latest, I noticed the issue is still there on my end. I kinda got used to it haha
Ahhh okay fair enough. Might stick with it hopping that react 19 will fix some things haha
Description
Building on top of https://github.com/vercel/ai/issues/2183. It appears that any versions after
ai@3.2.5
will cause an extra component rerender oncetextStream.done()
is ran/when the stream ends after text generation. This bug is noticeable inai@3.2.6
Video demo with
ai@3.2.5
https://github.com/vercel/ai/assets/75579372/50d0b2b5-e930-4a7e-bd45-83bbadf86912
Video demo with
ai@3.2.6
https://github.com/vercel/ai/assets/75579372/b47108d1-769a-4aab-bb67-47f039ea66fa
Code example
Example code using streamUI() and
textStream.done()
:Additional context
No response