OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: Interactive command: when the agent installs Anaconda or Miniconda, it gets stuck when it asks for user input

Open BestWhere opened this issue 11 months ago • 0 comments

Is there an existing issue for the same bug?

  • [X] I have checked the existing issues.

Describe the bug and reproduction steps

reproduction steps: docker pull docker.all-hands.dev/all-hands-ai/runtime:0.19-nikolaik

docker run -it --rm --pull=always
-e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.19-nikolaik
-e LOG_ALL_EVENTS=true
-v /var/run/docker.sock:/var/run/docker.sock
-v ~/.openhands-state:/.openhands-state
-p 3000:3000
--add-host host.docker.internal:host-gateway
--name openhands-app
docker.all-hands.dev/all-hands-ai/openhands:0.19

Run the command: wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh -O ~/miniconda.sh

yes "" | bash ~/miniconda.sh image

image

description of the issue: It seems that we cannot interact with the terminal and paste commands into it. We can only run it by writing prompts. When installing Miniconda, even pressing Enter to agree by default doesn't work because there are terms that need to be read. At this time, we cannot skip it by pressing Enter. Meanwhile, we cannot interact with the terminal until the agent times out and fails.

OpenHands Installation

Docker command in README

OpenHands Version

0.19

Operating System

MacOS

Logs, Errors, Screenshots, and Additional Context

No response

BestWhere avatar Jan 13 '25 11:01 BestWhere