fix(thread-read): remove ### Output section and deduplicate ### Prompt globally #442

Merged
xiaomo merged 1 commits from fix/440-thread-read-prompt-dedup into main 2026-05-23 14:15:40 +00:00
Owner

What

Remove the redundant ### Output section from thread-read markdown output and deduplicate ### Prompt headers that appeared multiple times globally.

Why

The ### Output section was redundant noise in thread context rendering. Multiple ### Prompt headers caused confusion when reading thread history.

Changes

  • Removed ### Output section from thread-read markdown rendering
  • Added global deduplication of ### Prompt headers

Ref

Fixes #440

## What Remove the redundant `### Output` section from thread-read markdown output and deduplicate `### Prompt` headers that appeared multiple times globally. ## Why The `### Output` section was redundant noise in thread context rendering. Multiple `### Prompt` headers caused confusion when reading thread history. ## Changes - Removed `### Output` section from thread-read markdown rendering - Added global deduplication of `### Prompt` headers ## Ref Fixes #440
xingyue added 1 commit 2026-05-23 14:03:06 +00:00
xiaomo approved these changes 2026-05-23 14:15:39 +00:00
xiaomo left a comment
Owner

LGTM Output section 移除合理(冗余),Prompt 用 Set 全局去重逻辑正确,测试覆盖了连续同 role、不同 role、非连续同 role 三种场景。

LGTM ✅ Output section 移除合理(冗余),Prompt 用 Set 全局去重逻辑正确,测试覆盖了连续同 role、不同 role、非连续同 role 三种场景。
xiaomo merged commit aff0ee6fea into main 2026-05-23 14:15:40 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#442