How to clear the entire chat log of a ChatInterface (Panel)?

Hi,

I’m using a ChatInterface, and I notice in the docs it says it’s possible to “Clear the chat log”:

image

Just wondering how to do this?
Thanks!

Sorry I’ve just realised I was using the show_clear styling option incorrectly, it works wonderfully thanks.

1 Like

You can also clear it by

ci = ChatInterface()
ci.objects = []
1 Like