Variable PruningStrategyConst
PruningStrategy: {
OLDEST_FIRST: "oldest_first";
LOWEST_PRIORITY: "lowest_priority";
PRIORITY_WEIGHTED_AGE: "priority_weighted_age";
SUMMARIZE: "summarize";
SLIDING_WINDOW: "sliding_window";
HIERARCHICAL: "hierarchical";
SEMANTIC: "semantic";
} = ...
Type Declaration
ReadonlyOLDEST_FIRST: "oldest_first"
ReadonlyLOWEST_PRIORITY: "lowest_priority"
ReadonlyPRIORITY_WEIGHTED_AGE: "priority_weighted_age"
ReadonlySUMMARIZE: "summarize"
ReadonlySLIDING_WINDOW: "sliding_window"
ReadonlyHIERARCHICAL: "hierarchical"
ReadonlySEMANTIC: "semantic"
Strategy for pruning context when budget is exceeded.