JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.
Python
fix(context): 默认开启压缩召回,按需召回原文信息
Kinsamf8726bd58353
diff --git a/jiuwenswarm/resources/config.yaml b/jiuwenswarm/resources/config.yamlindex c643f8e1f3..0b013dccd1 100644--- a/jiuwenswarm/resources/config.yaml+++ b/jiuwenswarm/resources/config.yaml@@ -740,9 +740,9 @@ react:# context_debug_dir:# 压缩召回:压缩器替换原始消息时,把原文分块归档到会话目录 compression_recall/,- # 模型可通过 [[COMPRESSION_RECALL: id=...]] 标记按需召回原文。默认关闭。+ # 模型可通过 [[COMPRESSION_RECALL: id=...]] 标记按需召回原文。默认开启。compression_recall_config:- enabled: false # true 开启压缩召回(仅对对话/当前轮/轮次级三个压缩器生效)+ enabled: true # true 开启压缩召回(仅对对话/当前轮/轮次级三个压缩器生效)chunk_size_tokens: 3000 # 归档分块大小(tokens)chunk_overlap_tokens: 500 # 相邻分块重叠(tokens,须小于 chunk_size_tokens)