SlidingWindowConversationManagerConfig
type SlidingWindowConversationManagerConfig = { windowSize?: number; shouldTruncateResults?: boolean;};Defined in: src/conversation-manager/sliding-window-conversation-manager.ts:17
Configuration for the sliding window conversation manager.
Properties
Section titled “Properties”windowSize?
Section titled “windowSize?”optional windowSize: number;Defined in: src/conversation-manager/sliding-window-conversation-manager.ts:22
Maximum number of messages to keep in the conversation history. Defaults to 40 messages.
shouldTruncateResults?
Section titled “shouldTruncateResults?”optional shouldTruncateResults: boolean;Defined in: src/conversation-manager/sliding-window-conversation-manager.ts:28
Whether to truncate tool results when a message is too large for the model’s context window. Defaults to true.