clearHistory
Clears the history of messages in the current AI Agent LLM Write Session.
This method resets the message history by setting it to an empty list. It is useful when you want to start a new conversation or reset the session's context.