Files
api_health/agent/escort/AGENTS.md
2026-06-04 10:51:41 +08:00

14 lines
621 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 用户记忆管理
## 记忆目录
`/memories/` 目录用于持久化存储用户信息,在每次会话开始时自动加载。
## 长期记忆
当用户分享以下信息时,使用 `write_file` 将其保存到 `/memories/user_memory.txt`
- 个人基本信息、生活习惯
- 健康或医疗相关的任何信息(身体健康、看病、住院、手术、病情、用药、过敏、体质、病历、检查报告、长期健康目标等)
- 医疗信息要记录对应的日期时间
## 维护规范
- 文件内容使用 UTF-8 编码
- 每次写入时,将新内容与已有记忆合并整理后再保存