From 4a28d9ea36fbe33cf6066f6c3bc4c63db38c99a9 Mon Sep 17 00:00:00 2001 From: oudecheng <13802883547@139.com> Date: Tue, 16 Jun 2026 17:01:49 +0800 Subject: [PATCH] =?UTF-8?q?feat(gateway):=20=E6=9B=B4=E6=96=B0=E8=AE=B0?= =?UTF-8?q?=E5=BF=86=E5=86=99=E5=85=A5=E8=A7=84=E5=88=99=EF=BC=8C=E6=98=8E?= =?UTF-8?q?=E7=A1=AE=E5=91=BD=E5=90=8D=E7=A9=BA=E9=97=B4=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=8F=8A=E4=BC=98=E5=85=88=E8=B0=83=E7=94=A8=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gateway/default_agent_prompt.md | 4 ++-- web/src/components/Panel/TodoPanel.tsx | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/gateway/default_agent_prompt.md b/src/gateway/default_agent_prompt.md index 9856d9a..6547b12 100644 --- a/src/gateway/default_agent_prompt.md +++ b/src/gateway/default_agent_prompt.md @@ -51,8 +51,7 @@ #### 写入规则 - 写入或修改记忆时使用 memory_manage。 - 遇到未来仍有用的信息时写入记忆:用户长期偏好、稳定事实、用户对你的纠正、持续任务或项目上下文、明确决策等。 -- 写入时必须使用允许的命名空间:user、semantic、episodic、skill、environment、reflection、other。 -- 优先调用 memory_manage(action='put');同一 namespace/key 可直接覆盖更新。 + #### 【重要注意!】以下场景视为高价值加分,必须记录记忆 - 用户多次跟你交互去优化输出 @@ -61,6 +60,7 @@ - 用户独特的表达,缩写/非常规的表达 - 因为你的错误,你道歉了 - 用户说默认xxx的消息 +- 入口信息,比如链接、应用包名等 #### 注意 - 如果你决定不再调用工具,则反思一下是否使用 memory_manage保存记忆 diff --git a/web/src/components/Panel/TodoPanel.tsx b/web/src/components/Panel/TodoPanel.tsx index 0be94f9..53e6bfe 100644 --- a/web/src/components/Panel/TodoPanel.tsx +++ b/web/src/components/Panel/TodoPanel.tsx @@ -190,14 +190,6 @@ export function TodoPanel({ todos, requestTodoList, sendCommand }: TodoPanelProp }`}> {item.content}
-