Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/memory / / OverflowMode

Type Alias: OverflowMode

ts
type OverflowMode = "truncate" | "drop";

Defined in: packages/memory/src/context-engine/token-budget.ts:73

Per-layer truncation mode used when the layer overflows its cap or the global budget. truncate is the default; drop removes the layer entirely when it would otherwise overflow.

Stable