add • Rust AI Agent SDK

add: Add a message to the history

add

Method

</div>

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

Add a message to the history

Signature

python
def add(&mut self, message: Message) -> ()

Parameters

ParamField Message

No description available.

Returns

ResponseField ()

The result of the operation.