Type | Description |
---|---|
UnconstrainedMemory | Unlimited storage for all messages |
SlidingMemory | Keeps only the most recent k entries |
TokenMemory | Manages token usage to stay within model context limits |
SummarizeMemory | Maintains a single summarization of the conversation |
prompt: null
.TokenMemory
to store intermediate steps for a given run.k
entries in the memory. The oldest ones are deleted (unless specified otherwise).
BaseMemory
class.
UnconstrainedMemory
.