From f23c66465c19ded3f11c3ad27e9a4f9bac6ece09 Mon Sep 17 00:00:00 2001 From: Engel Nyst Date: Wed, 13 Nov 2024 19:37:04 +0100 Subject: [PATCH] Update openhands/controller/agent_controller.py --- openhands/controller/agent_controller.py | 1 - 1 file changed, 1 deletion(-) diff --git a/openhands/controller/agent_controller.py b/openhands/controller/agent_controller.py index 7236a87d2ab0..c5a2bdf85b35 100644 --- a/openhands/controller/agent_controller.py +++ b/openhands/controller/agent_controller.py @@ -700,7 +700,6 @@ def _init_history(self): # If we have a truncation point, get first user message and then rest of history if hasattr(self.state, 'truncation_id') and self.state.truncation_id: - # Get events from start_id until we find first user message # Find first user message from stream first_user_msg = next( (