fix(web): stop rendering sidechain prompt as user message (#340)

This commit is contained in:
Haoqing Wang
2026-03-23 12:40:03 +08:00
committed by GitHub
parent bcc2558dff
commit 4c11fbe5f2
+2 -7
View File
@@ -221,13 +221,8 @@ export function reduceTimeline(
}
if (c.type === 'sidechain') {
blocks.push({
kind: 'user-text',
id: `${msg.id}:${idx}`,
localId: null,
createdAt: msg.createdAt,
text: c.prompt
})
// Skip - the prompt is already visible in the parent Task tool call's input
continue
}
}
}