Skip to content

Commit

Permalink
Update openhands/runtime/utils/bash.py
Browse files Browse the repository at this point in the history
Co-authored-by: Engel Nyst <[email protected]>
  • Loading branch information
xingyaoww and enyst authored Dec 29, 2024
1 parent 593eb8d commit 54ec610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openhands/runtime/utils/bash.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def _handle_completed_command(
metadata = CmdOutputMetadata.from_ps1_match(ps1_matches[-1])

# Special case where the previous command output is truncated due to history limit
# We should content BEFORE the last PS1 prompt
# We should get the content BEFORE the last PS1 prompt
get_content_before_last_match = bool(len(ps1_matches) == 1)

# Update the current working directory if it has changed
Expand Down

0 comments on commit 54ec610

Please sign in to comment.