Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: User input bash commands get echoed back before it executes #6661

Open
1 task done
diwu-sf opened this issue Feb 8, 2025 · 3 comments
Open
1 task done

[Bug]: User input bash commands get echoed back before it executes #6661

diwu-sf opened this issue Feb 8, 2025 · 3 comments
Labels
bug Something isn't working frontend Related to frontend severity:low Minor issues or affecting single user terminal/commands Related to the terminal or OpenHands running commands

Comments

@diwu-sf
Copy link
Contributor

diwu-sf commented Feb 8, 2025

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

If the AI runs a bash command, it looks like:

$ ...command...
...output of command...

when a user execute a command in the UI, the command is redundantly echoed back:

$ ...user bash...
...user bash...
...output of command...

See this screenshot, very easy to verify on main:
Image

OpenHands Installation

Docker command in README

OpenHands Version

No response

Operating System

None

Logs, Errors, Screenshots, and Additional Context

No response

@diwu-sf diwu-sf added the bug Something isn't working label Feb 8, 2025
@enyst enyst added the frontend Related to frontend label Feb 8, 2025
@mamoodi mamoodi added the severity:low Minor issues or affecting single user label Feb 9, 2025
@Vikki123
Copy link

Not sure if this is related. From yesterday open hands resolver is not working and its unable to perform any code operations on the repository. It just goes on a loop and never performs any action till iteration end is reached. Could someone confirm if any issue is ongoing ?

@xingyaoww
Copy link
Collaborator

I remember @rbren run into this early and it seems to be a frontend related issue, because the CmdOutputObservation from eventstream doesn't contains this echo? cc @amanape

@amanape
Copy link
Member

amanape commented Feb 10, 2025

Might be a frontend bug, but I think it has been present for a while now 😬

@mamoodi mamoodi added the terminal/commands Related to the terminal or OpenHands running commands label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Related to frontend severity:low Minor issues or affecting single user terminal/commands Related to the terminal or OpenHands running commands
Projects
None yet
Development

No branches or pull requests

6 participants