nextjs-openai
nextjs-openai copied to clipboard
useTextBuffer's done variable not updating when streaming is finished
When the text streaming generation is done, isn't the done boolean variable supposed to change to True? It doesn't seem to update correctly
In my case, I'm getting the opposite results. It seems done is triggered before all chunks are available.