Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix: cli dedupe TaskTrackingAction thoughts by using display_thought_if_new (#10660)

Ray Myers9709431874ae
diff --git a/openhands/cli/tui.py b/openhands/cli/tui.py
index e356ecf181..659020d0fc 100644
--- a/openhands/cli/tui.py
+++ b/openhands/cli/tui.py
@@ -522,7 +522,7 @@ def display_task_tracking_action(event: TaskTrackingAction) -> None:
"""Display a TaskTracking action in the CLI."""
# Display thought first if present
if hasattr(event, 'thought') and event.thought:
- display_message(event.thought)
+ display_thought_if_new(event.thought)
# Format the command and task list for display
display_text = f'Command: {event.command}'