How yo add response messages that render in useChat?

How would you go about adding response messages to streamText
(both user and assistant) that renders in useChat?

Hey, @aretrace! Welcome to the Vercel Community :smile:

Thank you for your patience :pray:

I wasn’t 100% sure on the answer for this, so I actually ended up asking v0. Here’s the chat in case it’s helpful:

I need to play around with the AI SDK more :thinking: Thanks for the inspiration! Feel free to share with us what you’re building. We’re happy to support :pray:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.