Replies: 2 comments 1 reply
-
and that should resolve your issue, as it will use the most recent |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @Pldesch |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm building an app where I want my backend to send me some additional metadata on top of the stream of data coming from openAI. I managed to get the data passed to my frontend in next and stored in the data variable. But now I would like to add this data to the last message or appending it to the last message in the data field.
Any idea on how I could do so ?
For the moment I have made this half working code allowing me to add a new message.
But as soon as the stream of text from the AI comes, my text disappears. I guess it's some pretty basic React mistake but I'm still a beginner. Any ideas on how to fix this ?
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions