Module strategy

Module strategy 

Source
Expand description

Compaction strategy - decides what to evict

Implements smart eviction that:

  • Preserves a retention window of recent messages
  • Avoids splitting tool call from its result
  • Handles droppable messages appropriately

Structs§

EvictionRange
Range of messages to evict
MessageMeta
Metadata about a message for eviction decisions

Enums§

CompactionStrategy
Strategy for choosing what to evict
MessageRole
Role of a message in conversation