diff --git a/Agent/doc/tools.json b/Agent/doc/tools.json index 621e58d..823fcbf 100644 --- a/Agent/doc/tools.json +++ b/Agent/doc/tools.json @@ -327,7 +327,7 @@ }, "content": { "type": "string", - "description": "记忆内容。add时必须提供。update时可选(不提供则保留原内容)" + "description": "记忆内容。add时必须提供。update时可选(不提供则保留原内容)。一律使用「用户」指代用户本人,禁止使用用户的名字、昵称或称呼。如「用户喜欢喝咖啡」而非「jojo喜欢喝咖啡」。" }, "keywords": { "type": "array", diff --git a/Agent/prompts/system.txt b/Agent/prompts/system.txt index 0804064..be1ea82 100644 --- a/Agent/prompts/system.txt +++ b/Agent/prompts/system.txt @@ -88,9 +88,7 @@ set_identity 和 remember 的本质区别: 1) 何时记录记忆(remember 工具): 以下情况应调用 remember 工具 add 操作: -⚠️ 内容格式:所有记忆的 content 字段中,一律使用「用户」指代用户本人,禁止使用用户的名字、昵称或称呼。 - 正确:「用户喜欢喝咖啡」「用户每天早上8点起床」 - 错误:「jojo喜欢喝咖啡」「张总每天早上8点起床」 +提醒:记录记忆时,content 中一律以「用户」自称,不要用用户的名字。 - 用户表达了个人偏好(喜欢/不喜欢/觉得什么好用/讨厌什么) → type=preference,content=具体偏好,keywords=相关关键词