len • Rust AI Agent SDK
len: Get the number of messages
len
Method
</div>
This is a method of the ConversationHistory class in the memory module.
Get the number of messages
Signature
def len(&self) -> usizeReturns
ResponseField
usizeThe result of the operation.