fix(thread-read): remove redundant Output section, clean up step display #440

Closed
opened 2026-05-23 11:26:05 +00:00 by xingyue · 0 comments
Owner

现状

uwf thread read 每个 step 输出三个 section:

  1. ### Prompt — role 的 goal(同一 role 多次出现时重复)
  2. ### Content — detail 里最后一条 assistant 消息(agent 的完整回复)
  3. ### Output — frontmatter 提取的结构化字段({status: done} 等)

问题

  • Output 冗余:Content 已经是 agent 的完整回复,Output 只是其中提取的结构化字段,给 moderator 路由用的,人读不需要
  • Prompt 在同一 role 多次出现时重复

改动

  • 去掉 ### Output section
  • 同一 role 重复出现时考虑省略 Prompt(或标注"同上")
## 现状 `uwf thread read` 每个 step 输出三个 section: 1. **### Prompt** — role 的 goal(同一 role 多次出现时重复) 2. **### Content** — detail 里最后一条 assistant 消息(agent 的完整回复) 3. **### Output** — frontmatter 提取的结构化字段(`{status: done}` 等) ## 问题 - **Output 冗余**:Content 已经是 agent 的完整回复,Output 只是其中提取的结构化字段,给 moderator 路由用的,人读不需要 - Prompt 在同一 role 多次出现时重复 ## 改动 - 去掉 ### Output section - 同一 role 重复出现时考虑省略 Prompt(或标注"同上")
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#440