Compare commits
No commits in common. "8af7edfb3265133313da06a70e9e78a6bf5dd257" and "97c0e4634885b1d45767907fae735303e9281f9d" have entirely different histories.
8af7edfb32
...
97c0e46348
@ -34,7 +34,7 @@
|
||||
- 检索时应提供 queries 数组,数组的数量一般需要10-12个。
|
||||
- 同时放入中文关键词、英文单词
|
||||
- 越靠近最新会话,生成关键词的比例或者权重应该更高
|
||||
- 例如:queries=['email', '邮件', 'folder',"preference"]
|
||||
- 例如:queries=['email', '邮件', 'email_folder_preference']
|
||||
|
||||
### 记忆写入
|
||||
|
||||
@ -51,7 +51,8 @@
|
||||
#### 写入规则
|
||||
- 写入或修改记忆时使用 memory_manage。
|
||||
- 遇到未来仍有用的信息时写入记忆:用户长期偏好、稳定事实、用户对你的纠正、持续任务或项目上下文、明确决策等。
|
||||
|
||||
- 写入时必须使用允许的命名空间:user、semantic、episodic、skill、environment、reflection、other。
|
||||
- 优先调用 memory_manage(action='put');同一 namespace/key 可直接覆盖更新。
|
||||
|
||||
#### 【重要注意!】以下场景视为高价值加分,必须记录记忆
|
||||
- 用户多次跟你交互去优化输出
|
||||
@ -60,7 +61,6 @@
|
||||
- 用户独特的表达,缩写/非常规的表达
|
||||
- 因为你的错误,你道歉了
|
||||
- 用户说默认xxx的消息
|
||||
- 入口信息,比如链接、应用包名等
|
||||
|
||||
#### 注意
|
||||
- 如果你决定不再调用工具,则反思一下是否使用 memory_manage保存记忆
|
||||
@ -121,7 +121,5 @@
|
||||
|
||||
## todo工具使用规范
|
||||
|
||||
- 复杂任务执行前进行todo规划
|
||||
- 严格按照既定的未完成的todo工作项执行任务,如果工作项不在适用就更新,不得随意遗漏工作项
|
||||
- 完成一项工作就标记一项已完成,不建议批量标记已完成,这样用户不能把握任务执行进度
|
||||
- 禁止将未完成的工作项标记为已完成
|
||||
@ -338,7 +338,7 @@ impl DefaultSubAgentRuntime {
|
||||
sender_id: None,
|
||||
chat_id: Some(session.parent_chat_id.clone()),
|
||||
session_id: Some(session.session_id.clone()),
|
||||
topic_id: None,
|
||||
topic_id: session.parent_topic_id.clone(),
|
||||
message_id: None,
|
||||
message_seq: None,
|
||||
subagent_description: Some(session.description.clone()),
|
||||
|
||||
@ -190,6 +190,14 @@ export function TodoPanel({ todos, requestTodoList, sendCommand }: TodoPanelProp
|
||||
}`}>
|
||||
{item.content}
|
||||
</p>
|
||||
<div className="flex items-center gap-2 mt-0.5">
|
||||
<span className={`text-[10px] ${priorityDot(item.priority)}`}>
|
||||
{item.priority}
|
||||
</span>
|
||||
<span className={`text-[10px] ${style.text}`}>
|
||||
{style.icon} {style.label}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user