fix: surface shell stderr output (#34761)

This commit is contained in:
Shoubhit Dash 2026-07-01 20:33:48 +05:30 committed by GitHub
commit 4617b03ca9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 30 additions and 0 deletions

View file

@ -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
})