fix(tui): drop error icon from exploration groups (#53363)

Co-authored-by: jlongster <17031+jlongster@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot]
2026-10-05 10:24:52 -04:00
committed by GitHub
Unverified
parent eb2f0d5e5d
commit ef07075156
@@ -126,7 +126,6 @@ function GroupContent(props: GroupProps) {
)
return `${completed() ? "Explored" : "Exploring"}: ${names.join(", ")}`
})
const failed = () => tools().some((part) => part.state.status === "error")
const toggle = disclosure.toggle
const children = (mode: "normal" | "thought" | "tool") => (
<Children {...props} nodes={props.node.children} mode={mode} />
@@ -143,7 +142,7 @@ function GroupContent(props: GroupProps) {
<Show when={grouped()} fallback={children("normal")}>
<Show when={tools().length > 0}>
<InlineToolRow
icon={failed() ? "✗" : completed() ? "→" : "✱"}
icon={completed() ? "→" : "✱"}
color={hover() ? theme.text.base : theme.text.muted}
complete={completed()}
pending={label()}