Skip to main content

Module memory_compaction

Module memory_compaction 

Source

Structs§

MemoryCompaction
MemoryCompaction : Keeps the whole memory named by the run’s memory id (or the step’s memory_id), replacing its older part with a summary as the conversation approaches the model’s context window. Without a memory id the agent runs without memory, and compaction bounds the run’s own loop.

Enums§

Kind