You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text generated by the stream is output on the screen as soon as it comes from the API, on real time. I notice that for small texts it works perfectly, as the frontend receives almost one character at a time from the API. But for long texts, it receives lines of texts instead of just one character at a time, and I don't want this effect. How do I fix this?
Code example
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Description
Hello everyone, I have a NextJs project that has this code in the API:
The text generated by the stream is output on the screen as soon as it comes from the API, on real time. I notice that for small texts it works perfectly, as the frontend receives almost one character at a time from the API. But for long texts, it receives lines of texts instead of just one character at a time, and I don't want this effect. How do I fix this?
Code example
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: