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
I'm hacking together a custom response renderer where I want to be able to have some logic to edit the stream as it is rendered but still benefit from streaming markdown rendering.
He's my attempt to create a component that could allow me to do this:
The weird this is that what gets rendered into the referenced div is a <p> paragraph per token, that is per call to mdStreamParser?.next. There are no line breaks in the text. Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
I'm hacking together a custom response renderer where I want to be able to have some logic to edit the stream as it is rendered but still benefit from streaming markdown rendering.
He's my attempt to create a component that could allow me to do this:
The weird this is that what gets rendered into the referenced div is a
<p>
paragraph per token, that is per call tomdStreamParser?.next
. There are no line breaks in the text. Am I doing something wrong?The text was updated successfully, but these errors were encountered: