[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[AI SDK](/c/ai-sdk/62)

# How yo add response messages that render in useChat?

304 views · 0 likes · 2 posts


Rtrace (@aretrace) · 2024-10-18

How would you go about [adding response messages](https://sdk.vercel.ai/docs/ai-sdk-core/tools-and-tool-calling#response-messages) to `streamText`
(both user and assistant) that renders in `useChat`?


Pauline P. Narvas (@pawlean) · 2024-11-05

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:

https://v0.dev/chat/nTdk3tPCXPJ  

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: