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

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Ray Myers 2025-08-28 08:20:39 -05:00 committed by GitHub
parent 0e9906f41e
commit 9709431874
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}'