clear • Rust AI Agent SDK

clear: Clear the history

clear

Method

</div>

This is a method of the ConversationHistory class in the memory module.

Clear the history

Signature

python
def clear(&mut self) -> ()

Returns

ResponseField ()

The result of the operation.