fix: update summarization configuration values

This commit is contained in:
Henry Li
2026-01-22 10:36:19 +08:00
parent 9e72dc4f63
commit bd33f72017

View File

@@ -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