From bd33f72017288764cf9fb8afcf5b8cc86fbe58d2 Mon Sep 17 00:00:00 2001 From: Henry Li Date: Thu, 22 Jan 2026 10:36:19 +0800 Subject: [PATCH] fix: update summarization configuration values --- config.example.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config.example.yaml b/config.example.yaml index 62bced5..0312b7a 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -192,9 +192,9 @@ summarization: # Summarization runs when ANY threshold is met (OR logic) # You can specify a single trigger or a list of triggers trigger: - # Trigger when token count reaches 4000 + # Trigger when token count reaches 15564 - type: tokens - value: 4000 + value: 15564 # Uncomment to also trigger when message count reaches 50 # - type: messages # value: 50 @@ -205,9 +205,9 @@ summarization: # Context retention policy after summarization # Specifies how much recent history to preserve keep: - # Keep the most recent 20 messages (recommended) + # Keep the most recent 10 messages (recommended) type: messages - value: 20 + value: 10 # Alternative: Keep specific token count # type: tokens # value: 3000 @@ -217,7 +217,7 @@ summarization: # Maximum tokens to keep when preparing messages for summarization # Set to null to skip trimming (not recommended for very long conversations) - trim_tokens_to_summarize: 4000 + trim_tokens_to_summarize: 15564 # Custom summary prompt template (null = use default LangChain prompt) # The prompt should guide the model to extract important context