Conversation
Try this layout. You can try it here: Vercel Chatbot Template |
|
Okay 👍🏻 |
|
Can't see the image... But here's something you'll find useful: AI Elements - AI SDK |
|
okay |
|
Error: Vercel AI Gateway blocked the request (403 Forbidden) AI Gateway requires a valid credit card on file to service requests. Endpoint: Details:
This means my API call is being routed through Vercel's AI Gateway, I want to know whether I should:
|
|
Oh! I haven't seen something like this. Push them commits in @rooney011 . That way I can test out this thing and let you know. Make sure you make small and numerous commits (do not commit all files in one single commit). |
|
yeah okay |
|
I’ve made the commits. Should I go ahead and open a PR? |
|
Push them in this PR itself. We don't need a new one. |
|
i have messed up code in this branch so i have created a new branch and worked on it so can i make a new PR? |
|
Oh! that's cool. I saw the other PR. Can I close this without merging then? |
|
Yeah |
|
@rooney011 also, let me know if I can close this PR without merging, if we don't need this anymore. |


What’s done:
• Built ChatLayout, ChatMessages, and ChatInput components.
• Centered chat card with scrollable messages.
• Styled input and message bubbles.
• Integrated useChat hook to handle message state.
What needs to be done:
• Fix POST request from frontend to /api/chat so AI responses work.
• Ensure handleSubmit correctly sends messages without page reload.
• UI improvements: loading indicator, timestamps, avatars