Documentation
¶
Overview ¶
Package compactor implements the compactor seam as an in-process plugin. It keeps the first N and last M messages, LLM-summarizes the middle via the mounted provider, and returns the compacted list.
Seam: compactor (exclusive). Requires: provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compactor ¶
type Compactor struct {
// contains filtered or unexported fields
}
Compactor implements agent.CompactionProvider. It holds a reference to the provider (set at Mount time) and the compaction config (read from ctx.Configs at Mount time).
Click to show internal directories.
Click to hide internal directories.