fix(format): filter out thinking_tokens system messages from step summary (#1479)

## Summary

Signed-off-by: anish <anishesg@users.noreply.github.com>
Co-authored-by: anish <anishesg@users.noreply.github.com>
This commit is contained in:
anish
2026-07-15 20:27:23 -07:00
committed by GitHub
co-authored by anish
parent 5bfa96a5b0
commit a1c0599a9c
2 changed files with 32 additions and 1 deletions
Executable → Regular
+2 -1
View File
@@ -268,7 +268,8 @@ export function groupTurnsNaturally(data: Turn[]): GroupedContent[] {
type: "system_init",
tools_count: tools.length,
});
} else {
} else if (subtype !== "thinking_tokens") {
// Skip thinking_tokens - internal progress events not meant for summary
groupedContent.push({
type: "system_other",
data: turn,