With Long Term • Rust AI Agent SDK

with_long_term: Enable long-term memory

with_long_term

Method

</div>

This is a method of the MemoryConfig class in the config module.

Enable long-term memory

Signature

python
def with_long_term(mut self) -> Self

Returns

ResponseField Self

The result of the operation.