tui: show pending toolcall count instead of generic 'Running...' message

This commit is contained in:
Dax Raad
2026-03-03 15:06:07 -05:00
parent 07025ef5b9
commit dc2c9c7673

View File

@@ -1980,7 +1980,7 @@ function Task(props: ToolProps<typeof TaskTool>) {
if (isRunning() && tools().length > 0) {
// content[0] += ` · ${tools().length} toolcalls`
if (current()) content.push(`${Locale.titlecase(current()!.tool)} ${(current()!.state as any).title}`)
else content.push(`Running...`)
else content.push(`${tools().length} toolcalls`)
}
if (props.part.state.status === "completed") {