DeepTutor
DeepTutor copied to clipboard
[Bug]:精通之路学习模式记忆重复记录问题
Do you need to file an issue?
- [x] I have searched the existing issues and this bug is not already filed.
- [x] I believe this is a legitimate bug, not just a question or feature request.
Describe the bug
在该模式下对模型提出的明确记忆要求会在后续轮次对话中被反复 重复性write_memory add
Steps to reproduce
No response
Expected Behavior
No response
Related Module
Dashboard
Configuration Used
No response
Logs and screenshots
No response
Additional Information
- DeepTutor Version:
- Operating System:
- Python Version:
- Node.js Version:
- Browser (if applicable):
- Related Issues:
已在 dev 修复(630041a1)。根因:preferences.md 从不走自动整合,所以重复的 write_memory add 会永久留下重复条目,而精通之路这类长的、工具驱动的会话最容易反复触发。现在 write_preference 的 add 分支做了幂等去重(规范化文本比对):遇到已存在的等价偏好直接短路成 no-op,并让 write_memory 工具向模型回报 'already saved',不再新增重复记录。下个版本发布。