oudecheng
d0051baa07
refactor: 消息持久化从批量改为实时逐条,通过装饰器模式实现
- 新增 PersistingEmittedMessageHandler 装饰器,在 emitter 广播前逐条落库
- processor 和 task/runtime 使用装饰器包裹 emitter,替代 post-loop 批量写入
- 移除 session_history 中的批量 DB 写入,仅保留内存历史更新
- execution 中跳过已由 live emitter 实时广播的工具消息,避免重复
- 前端支持运行中 task 工具卡片"查看实时进度"跳转子智能体视图
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 16:47:57 +08:00
..
2026-05-29 16:47:57 +08:00
2026-05-26 17:43:15 +08:00
2026-05-26 17:43:15 +08:00
2026-05-26 17:43:15 +08:00
2026-05-26 17:43:15 +08:00
2026-05-26 17:43:15 +08:00
2026-05-26 17:43:15 +08:00
2026-05-26 17:43:15 +08:00
2026-05-26 17:43:15 +08:00
2026-05-26 17:43:15 +08:00