Skip to content

Commit

Permalink
Update openhands/controller/agent_controller.py
Browse files Browse the repository at this point in the history
  • Loading branch information
enyst authored Nov 13, 2024
1 parent 29e14e0 commit f23c664
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion openhands/controller/agent_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
(
Expand Down

0 comments on commit f23c664

Please sign in to comment.