tui: simplify running tool display to show tool names more directly in task UI

pull/15887/head
Dax Raad 2026-03-03 13:16:00 -05:00
parent 1f3ee037aa
commit 5527b4ea4d
1 changed files with 1 additions and 8 deletions

View File

@ -1986,14 +1986,7 @@ function Task(props: ToolProps<typeof TaskTool>) {
{" "}
· {tools().length} toolcalls
<Show fallback={"\n↳ Running..."} when={current()}>
{(item) => {
const title = createMemo(() => (item().state as any).title)
return (
<>
{"\n"} {Locale.titlecase(item().tool)} {title()}
</>
)
}}
{"\n"} {Locale.titlecase(current()!.tool)} {(current()!.state as any).title}
</Show>
</Show>
<Show when={duration() && props.part.state.status === "completed"}>