Skip to content

Commit 9acdd74

Browse files
committed
fix(tui): resolve undefined refresh_chrome in _on_stream exit-boundary replay
1 parent 2057d86 commit 9acdd74

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

frontends/tuiapp_v2.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6674,13 +6674,12 @@ def _on_stream(self, agent_id, task_id, text, done):
66746674
m.done = True
66756675
found = m
66766676
break
6677-
if found and agent_id == self.current_id:
6678-
if found._segment_widgets:
6679-
try: self._stream_update_assistant(found)
6680-
except Exception: self._refresh_messages()
6681-
else:
6682-
self._refresh_messages()
6683-
if refresh_chrome:
6677+
if found and agent_id == self.current_id:
6678+
if found._segment_widgets:
6679+
try: self._stream_update_assistant(found)
6680+
except Exception: self._refresh_messages()
6681+
else:
6682+
self._refresh_messages()
66846683
self._refresh_sidebar()
66856684
self._refresh_topbar()
66866685
self._ensure_spinner()

0 commit comments

Comments
 (0)