OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: OpenDevin UI delays feedback when running a long running command

Open mamoodi opened this issue 1 year ago • 4 comments

Is there an existing issue for the same bug?

  • [X] I have checked the troubleshooting document at https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting
  • [X] I have checked the existing issues.

Describe the bug

When asking OpenDevin to perform a command that will take some time, instead of telling the user that something is happening, only the "..." is displayed while in the terminal you can see that OpenDevin is doing something. This gives the perception that OpenDevin may be stuck if only looking at the UI.

Current OpenDevin version

main

Installation and Configuration

Following docker command in README

Model and Agent

gpt-4o CodeActAgent

Operating System

MacOS

Reproduction Steps

  1. Tell OpenDevin to "Write a Hello World program in Ruby but do not execute it"
  2. Tell OpenDevin to "Install Ruby and execute the script"

In the terminal I can see: THOUGHT: Sure! First, let's install Ruby. And it running the command. But in the OpenDevin UI, I have gotten no response yet after my prompt. It just shows ... Then after the entire command has been completed, I quickly get the response.

Logs, Errors, Screenshots, and Additional Context

No response

mamoodi avatar Jul 13 '24 16:07 mamoodi

We have multiple related duplicates for this topic, it all comes down to async/streaming being implemented soon-ish.

tobitege avatar Jul 13 '24 16:07 tobitege

@tobitege I noticed this in the most recent version. Didn't occur before. If it's a direct duplicate, do you mind linking the issue and closing this as duplicate please?

mamoodi avatar Jul 13 '24 16:07 mamoodi

Hmm... on 2nd thought, this could be caused by a switch in handling observations (event stream?). I thought about #1427 first, but your finding is different here, I agree.

tobitege avatar Jul 13 '24 16:07 tobitege

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Aug 13 '24 01:08 github-actions[bot]

This issue was closed because it has been stalled for over 30 days with no activity.

github-actions[bot] avatar Aug 22 '24 01:08 github-actions[bot]