new • Rust AI Agent SDK

new: Create a new in-memory adapter

new

Method

</div>

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

Create a new in-memory adapter

Signature

python
def new(max_messages: usize) -> Self

Parameters

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.