-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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]: Very longs commands execution in terminal on macos #6218
Comments
I believe with the new changes, you can send Yes / No to the question for interactive prompts. |
Oh my apologies. In the new changes, this happens automatically. I just saw it happen in one of my runs. If you leave it running does it automatically send Yes to the terminal at all? |
Yes, eventually it will send "yes" but it's not effective due to terminal timeout |
Hmmmm in my case it was able to continue but yours looks like it behaved differently? |
I also just noticed this error, and I'm also on mac. I'm not sure if it's related to the OpenHands branch I'm in, but I noticed this while testing out #5284 using CLI mode:
|
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
There is a significant delay in commands execution which are run in openhands terminal.
This leads to errors like this:
[The command timed out after 120 seconds. You may wait longer to see additional output by sending empty command '', send other commands to interact with the current process, or send keys to interrupt/kill the command.]
--END AGENT OBSERVATION--
Running commands directly via docker exec does not cause any delays and work normally.
Manual commands execution pose the same significant delays in commands execution.
OpenHands Installation
Docker command in README
OpenHands Version
0.19
Operating System
MacOS
Logs, Errors, Screenshots, and Additional Context
11:03:20 - ACTION
[Agent Controller 732999583fee427caaf06cf09e3b9196] CmdRunAction (source=EventSource.AGENT)
COMMAND:
y
11:05:20 - OBSERVATION
[Agent Controller 732999583fee427caaf06cf09e3b9196] CmdOutputObservation (source=EventSource.AGENT, exit code=-1, metadata={
"exit_code": -1,
"pid": -1,
"username": null,
"hostname": null,
"working_dir": null,
"py_interpreter_path": null,
"prefix": "[Command output continued from previous command]\n",
"suffix": "\n[The command timed out after 120 seconds. You may wait longer to see additional output by sending empty command '', send other commands to interact with the current process, or send keys to interrupt/kill the command.]"
})
--BEGIN AGENT OBSERVATION--
[Command output continued from previous command]
RangeError: Incorrect locale information provided
Vue.js - The Progressive JavaScript Framework
? Add TypeScript? › No / Yes
[The command timed out after 120 seconds. You may wait longer to see additional output by sending empty command '', send other commands to interact with the current process, or send keys to interrupt/kill the command.]
--END AGENT OBSERVATION--
The text was updated successfully, but these errors were encountered: