Skip to content

Commit c38e950

Browse files
authored
Update core.py
1 parent 4849c6d commit c38e950

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎python_agent_harness/tui/core.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,14 @@ def _on_notify(self, kind: str, data: Any = None) -> None:
151151
self._current_tool = label
152152
self.status = f" ⏳ {label}"
153153
self._history_dirty = True
154+
elif kind == "tool_calls":
155+
# Arguments for the round tool_start just announced, for
156+
# hosting UIs. The TUI already shows them on its own
157+
# "▶ tool: name(args)" history rows, so there is nothing to
158+
# do here -- but it must be handled explicitly, or the else
159+
# branch below would replace tool_start's " ⏳ <names>"
160+
# status with a bare " running".
161+
pass
154162
elif kind == "tool_running":
155163
# Per-tool notification: update the current tool name shown
156164
# beside the spinner as each sync tool starts executing.

0 commit comments

Comments
 (0)