Chainlit / chainlit

Build Conversational AI in minutes ⚡️
https://docs.chainlit.io
Apache License 2.0
6.67k stars 860 forks source link

Enable removing or clearing the history of last messages #18

Closed mcai closed 1 year ago

mcai commented 1 year ago

It will be convenient if we can add some buttons to enable users either remove specific message or clear the whole history of last messages besides the input box.

Screenshot 2023-05-31 at 14 44 32
willydouhard commented 1 year ago

I agree. While this gets implemented, you can try to clear your local storage. It will wipe the whole history.

This will only work if you are not using a cloud project. For cloud projects, the history is saved in a DB.