ConversationManagerOptions
type ConversationManagerOptions = { proactiveCompression?: boolean | ProactiveCompressionConfig;};Defined in: src/conversation-manager/conversation-manager.ts:71
Configuration options for the ConversationManager base class.
Properties
Section titled “Properties”proactiveCompression?
Section titled “proactiveCompression?”optional proactiveCompression?: boolean | ProactiveCompressionConfig;Defined in: src/conversation-manager/conversation-manager.ts:79
Enable proactive context compression before the model call.
true: compress when 70% of the context window is used (default threshold).{ compressionThreshold: number }: compress at the specified ratio (0, 1].falseor omitted: disabled, only reactive overflow recovery is used.