fix(ui): render task prompt consistently while running

This commit is contained in:
Shantur Rathore
2026-02-22 08:58:39 +00:00
parent 33f0aa5714
commit 635237c258

View File

@@ -287,7 +287,9 @@ export const taskRenderer: ToolRenderer = {
content: promptContent()!,
cacheKey: "task:prompt",
disableScrollTracking: true,
disableHighlight: true,
// Always use the normal markdown render path for prompt (even while running)
// so the prompt doesn't visually change between running/completed states.
disableHighlight: false,
})}
</div>
</section>