Closed Rajaniraiyn closed 3 weeks ago
@Rajaniraiyn is attempting to deploy a commit to the Simon Farshid's projects Team on Vercel.
A member of the Team first needs to authorize it.
Thanks a lot! I am adding a few new features to the thread (image upload, file upload, voice mode). These need some extra handling regarding the reset - so I will merge this once those features are ready
In the meantime, you can get the equivalent of a reset by calling useSwitchToNewThread(): https://www.assistant-ui.com/docs/advanced/API#useswitchtonewthread
@Rajaniraiyn I switched to a slightly different method - which entirely swaps the thread runtime. I added the ability to re-specify the intialMessages to fix #701
Thank you so much for this idea and initial implementation!!
adds
reset
method to messages repository which helps in switching chats