nextjs-openai icon indicating copy to clipboard operation
nextjs-openai copied to clipboard

useTextBuffer's done variable not updating when streaming is finished

Open tylertaewook opened this issue 1 year ago • 1 comments

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

tylertaewook avatar Jun 21 '23 14:06 tylertaewook

In my case, I'm getting the opposite results. It seems done is triggered before all chunks are available.

polesapart avatar Dec 01 '23 12:12 polesapart