I am using the llm chat component in my project. Iv noticed something that might be a bug. When clicking on the clear history button in the UI. The history is deleted on the client side. However when I refresh the page, the chat history returns to the chat interface. This happens even when calling the clearHistory method in a script. Does this function as expected? Or is this possibly a bug?
Hello @matt.em!
Great find, let me double check with our AI team and see if this is expected behavior.
It seems that the component is fetching the saved chat data on refresh from another location as the component's state is emptied on click of 'clear history'.
My guess is that some users do want to have chat messages to be pulled up if an accidental browser refresh occurs or if there are networking issues.
But there are likely other users who want a chat to be completely cleared and forgotten about.
I will look into making sure users have control over how the component handles page refreshes and potentially add a toggle for refresh vs no refresh history fetching!
Thank you!
Hi @Jack_T do you have any feedback on this?
Hi @Almopt,
Latest news I have is that this was moved to the category of 'Ready for Work' 16 days ago.
So now we will just need to have this picked up by an engineer
Fixing this would be highly appreciated
hi, any update on this?
Hi @varad,
I can add in your plus 1 which will increase the ticket weight.
I will continue to update this thread with hopefully good news!
Fixed - will be deployed on Monday.