ai-chatbot icon indicating copy to clipboard operation
ai-chatbot copied to clipboard

The text streaming is broken on latest next@15 and react@rc

Open MarkLyck opened this issue 6 months ago • 0 comments

I was looking for an example of text-streaming inside a streamUI action, and came across this example which works great in the demo.

If you clone the repo as is, it works great. But if you upgrade to the latest [email protected] and react@rc, the textStreaming is broken.

The AI chatbot will just be stuck in loading until it has completed the response entirely, and then respond with the entire wall of text. Which is not desired behavior.

Is there a working example of text streaming done inside a streamUI that works on the latest next.JS?

MarkLyck avatar Jul 30 '24 04:07 MarkLyck