Skip to main content

InMemoryAdapter

Defined in the Memory module.
Rust AI Agent SDK In-memory adapter (default)

Fields

NameTypeDescription
historyConversationHistory-

Methods

new

fn new(max_messages: usize) -> Self
Create a new in-memory adapter Parameters:
NameType
max_messagesusize