Documentation / @agentick/core / TimelineBudgetOptions
Interface: TimelineBudgetOptions ​
Defined in: core/src/jsx/components/timeline.tsx:87
Token budget options for Timeline.
Extended by ​
Properties ​
guidance? ​
optionalguidance:string
Defined in: core/src/jsx/components/timeline.tsx:98
Guidance string passed to custom compaction functions
headroom? ​
optionalheadroom:number
Defined in: core/src/jsx/components/timeline.tsx:104
Reserve tokens for safety margin (default: 0)
maxTokens? ​
optionalmaxTokens:number
Defined in: core/src/jsx/components/timeline.tsx:89
Maximum tokens for timeline entries. Enables compaction.
onEvict()? ​
optionalonEvict: (entries) =>void
Defined in: core/src/jsx/components/timeline.tsx:95
Callback when entries are evicted
Parameters ​
entries ​
Returns ​
void
preserveRoles? ​
optionalpreserveRoles: ("user"|"assistant"|"system"|"tool")[]
Defined in: core/src/jsx/components/timeline.tsx:101
Roles that are never evicted (default: ["system"])
strategy? ​
optionalstrategy:CompactionStrategy
Defined in: core/src/jsx/components/timeline.tsx:92
Compaction strategy (default: "sliding-window")