new • Rust AI Agent SDK

new: Create a new conversation history

new

Method

</div>

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

Create a new conversation history

Signature

python
def new(max_messages: usize) -> Self

Parameters

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.