diff --git a/.gitignore b/.gitignore index fd25c41..0c25edb 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ AGENTS.md CLAUDE.md Cargo.lock .playwright-cli/ -.venv \ No newline at end of file +.venv +PicoBot.code-workspace diff --git a/src/agent/memory_tool_usage_system_prompt.md b/src/agent/memory_tool_usage_system_prompt.md index 3653916..60cf004 100644 --- a/src/agent/memory_tool_usage_system_prompt.md +++ b/src/agent/memory_tool_usage_system_prompt.md @@ -27,7 +27,7 @@ ## 检索方式 -- 检索时应提供 queries 数组。 +- 检索时应提供 queries 数组,数组的数量一般需要8-10个,这样才能保证搜索得全。 - 尽量同时放入中文关键词、英文别名,以及可能的 snake_case memory_key 词。如果最后一轮的会话与前面的话题不一致,则优先根据最后一轮用户的会话来生成关键词,保留1、 2个历史会话的 - 越靠近最新会话,生成关键词的比例或者权重应该更高 - 例如:queries=['email', '邮件', 'email_folder_preference']。