OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: Commands getting printed multiple times

Open rbren opened this issue 1 year ago • 1 comments

Is there an existing issue for the same bug?

  • [X] I have checked the troubleshooting document at https://github.com/OpenDevin/OpenDevin/blob/main/docs/guides/Troubleshooting.md
  • [X] I have checked the existing issues.

Describe the bug

When OpenDevin runs a command, it often gets printed to the UI multiple times.

Probably an artifact of https://github.com/OpenDevin/OpenDevin/pull/1333

Current Version

`main` tag, as of commit `8828d9836d012b729132a5dbb29a14d271cabb4b`

Installation and Configuration

docker run --pull=always \
-e USE_HOST_NETWORK=false \
-e LLM_API_KEY  \
-e CACHE_DIR=$WORKSPACE_DIR/.cache   \
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_DIR     \
-v $WORKSPACE_DIR:/opt/workspace_base     \
-v /var/run/docker.sock:/var/run/docker.sock     \
-p 2000:3000     \
--add-host host.docker.internal=host-gateway     \
ghcr.io/opendevin/opendevin:main

Model and Agent

model: gpt-4-turbo agent: MonologueAgent

Reproduction Steps

Run any task that involves running commands

Logs, Errors, Screenshots, and Additional Context

Screenshot 2024-04-24 at 6 01 36 PM

rbren avatar Apr 24 '24 22:04 rbren

I think this is likely a frontend issue now--I'm not seeing it when running OD headless, and the websocket data seems fine

rbren avatar Apr 25 '24 12:04 rbren