Strands Agents Typescript SDK
    Preparing search index...

    Type Alias SlidingWindowConversationManagerConfig

    Configuration for the sliding window conversation manager.

    type SlidingWindowConversationManagerConfig = {
        windowSize?: number;
        shouldTruncateResults?: boolean;
    }
    Index

    Properties

    windowSize?: number

    Maximum number of messages to keep in the conversation history. Defaults to 40 messages.

    shouldTruncateResults?: boolean

    Whether to truncate tool results when a message is too large for the model's context window. Defaults to true.