mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-29 00:34:47 +08:00
fix: update summarization configuration values
This commit is contained in:
@@ -192,9 +192,9 @@ summarization:
|
|||||||
# Summarization runs when ANY threshold is met (OR logic)
|
# Summarization runs when ANY threshold is met (OR logic)
|
||||||
# You can specify a single trigger or a list of triggers
|
# You can specify a single trigger or a list of triggers
|
||||||
trigger:
|
trigger:
|
||||||
# Trigger when token count reaches 4000
|
# Trigger when token count reaches 15564
|
||||||
- type: tokens
|
- type: tokens
|
||||||
value: 4000
|
value: 15564
|
||||||
# Uncomment to also trigger when message count reaches 50
|
# Uncomment to also trigger when message count reaches 50
|
||||||
# - type: messages
|
# - type: messages
|
||||||
# value: 50
|
# value: 50
|
||||||
@@ -205,9 +205,9 @@ summarization:
|
|||||||
# Context retention policy after summarization
|
# Context retention policy after summarization
|
||||||
# Specifies how much recent history to preserve
|
# Specifies how much recent history to preserve
|
||||||
keep:
|
keep:
|
||||||
# Keep the most recent 20 messages (recommended)
|
# Keep the most recent 10 messages (recommended)
|
||||||
type: messages
|
type: messages
|
||||||
value: 20
|
value: 10
|
||||||
# Alternative: Keep specific token count
|
# Alternative: Keep specific token count
|
||||||
# type: tokens
|
# type: tokens
|
||||||
# value: 3000
|
# value: 3000
|
||||||
@@ -217,7 +217,7 @@ summarization:
|
|||||||
|
|
||||||
# Maximum tokens to keep when preparing messages for summarization
|
# Maximum tokens to keep when preparing messages for summarization
|
||||||
# Set to null to skip trimming (not recommended for very long conversations)
|
# 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)
|
# Custom summary prompt template (null = use default LangChain prompt)
|
||||||
# The prompt should guide the model to extract important context
|
# The prompt should guide the model to extract important context
|
||||||
|
|||||||
Reference in New Issue
Block a user