mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 06:45:22 +00:00
tui: show pending toolcall count instead of generic 'Running...' message
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user