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


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


Just wondering how to do this?

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