When creating a new chat that generates a UI, the chat title does not auto-generate and update on the sidebar but will appear after manual page refresh. Additionally, after the assistant responds with the UI, clicking "New Chat" does not move the page to the root route even though the route changes from the address bar.
Steps to Reproduce:
Clone repo, add env config and run as local
Create a new chat that generates a UI
Notice the sidebar will not update with new chat title
Notice when "New Chat" is clicked, the page won't move
However, if the assistant streams text response, the sidebar updates with new chat title and "New chat" button works
When creating a new chat that generates a UI, the chat title does not auto-generate and update on the sidebar but will appear after manual page refresh. Additionally, after the assistant responds with the UI, clicking "New Chat" does not move the page to the root route even though the route changes from the address bar.
Steps to Reproduce:
See attached video:
https://github.com/user-attachments/assets/d85e4b26-6efd-4f04-80e7-cd7908bffa2e