feat: 聊天记忆:定期 GLM 总结沉淀进 prompt #5

Closed
opened 2026-09-29 12:52:17 +08:00 by kenyang · 0 comments
Owner

背景

学自 WXAUTO_SE 记忆功能:AI 总结聊天记录存入独立记忆文件,回复时注入。

方案

每 N 次交互后让 GLM 生成会话摘要,存 /opt/wechat-agent/memory/<会话>.md,compose_reply 注入最近摘要。

验收标准

  • 记忆文件生成且可人工编辑
  • 回复能体现历史上下文

Parent

TD 登记册(迭代1)

## 背景 学自 WXAUTO_SE 记忆功能:AI 总结聊天记录存入独立记忆文件,回复时注入。 ## 方案 每 N 次交互后让 GLM 生成会话摘要,存 /opt/wechat-agent/memory/<会话>.md,compose_reply 注入最近摘要。 ## 验收标准 - [ ] 记忆文件生成且可人工编辑 - [ ] 回复能体现历史上下文 ## Parent TD 登记册(迭代1)
kenyang added this to the 迭代1 · v0.3.0 milestone 2026-09-29 12:52:17 +08:00
kenyang added the Kind/featurePriority/P2 labels 2026-09-29 12:52:17 +08:00
kenyang self-assigned this 2026-09-29 12:52:17 +08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kenyang/wechat-ops#5