Video of this repo in action https://github.com/supabase-community/vercel-ai-chatbot :
using-Link-1.mov
In that video,
- I entered the prompt, then submitted, it showed the result.
- Then I tried to click the "New Chat" button which is actually a Next.js's
Link
component that points to/
https://github.com/supabase-community/vercel-ai-chatbot/blob/5a8fcfec092749263d9c3bf34cf7dda11c8ad22b/components/prompt-form.tsx#L52. Nothing happened because it's stil in the same path. - Then I clicked one of the previous chat. It shows the previous chat.
- Then when I tried to clicked the "New Chat" button again, it shows data from step 1, instead of blank new chat.