feat(replyer): 使用全局配置替换默认记忆检索参数,提升灵活性和可配置性

feat(memory_tools): 优化记忆过滤逻辑,增强日志记录和过滤统计
feat(plan_filter): 调整AFC场景的记忆检索数量,减少干扰
This commit is contained in:
Windpicker-owo
2025-11-11 21:34:11 +08:00
parent 19cfa37097
commit 13fb86394b
3 changed files with 66 additions and 15 deletions

View File

@@ -707,7 +707,7 @@ class ChatterPlanFilter:
query = " ".join(keywords)
enhanced_memories = await memory_manager.search_memories(
query=query,
top_k=5,
top_k=5, # AFC 场景使用较少记忆,避免干扰规划
use_multi_query=False, # 直接使用关键词查询
)