ProactiveCompressionConfig
type ProactiveCompressionConfig = { compressionThreshold: number;};Defined in: src/conversation-manager/conversation-manager.ts:59
Configuration for proactive compression when passed as an object.
Properties
Section titled “Properties”compressionThreshold
Section titled “compressionThreshold”compressionThreshold: number;Defined in: src/conversation-manager/conversation-manager.ts:65
Ratio of context window usage that triggers proactive compression. Value between 0 (exclusive) and 1 (inclusive). Defaults to 0.7 (compress when 70% of the context window is used).