fix: surface shell stderr output (#34761)

This commit is contained in:
Shoubhit Dash
2026-07-01 20:33:48 +05:30
committed by GitHub
parent 6a91a682e4
commit 4617b03ca9
2 changed files with 30 additions and 0 deletions
@@ -1687,6 +1687,7 @@ function ToolPart(props: { part: SessionMessageAssistantTool }) {
if (ctx.showDetails()) return false
if (runningShell()) return false
if (props.part.state.status !== "completed") return false
if (display() === "shell") return false
return true
})