Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/memory / / CompactionTriggerConfig

Interface: CompactionTriggerConfig

Defined in: packages/memory/src/context-engine/compaction/types.ts:65

Built-in trigger configuration. The auto-trigger fires when the counted message-buffer tokens cross the threshold; manual and pre-step trigger sources bypass evaluation entirely.

Stable

Properties

PropertyModifierTypeDefined in
thresholdRatio?readonlynumberpackages/memory/src/context-engine/compaction/types.ts:67
thresholdTokens?readonlynumberpackages/memory/src/context-engine/compaction/types.ts:66