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]: Refresh files whenever the agent edits/creates/deletes a file #5980

Open
1 task done
rbren opened this issue Jan 2, 2025 · 1 comment
Open
1 task done

[Bug]: Refresh files whenever the agent edits/creates/deletes a file #5980

rbren opened this issue Jan 2, 2025 · 1 comment
Labels
bug Something isn't working frontend Related to frontend Nit severity:low Minor issues or affecting single user

Comments

@rbren
Copy link
Collaborator

rbren commented Jan 2, 2025

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

Pretty easy to repro:

  • as the agent to create foo.txt
  • agent writes the file
  • workspace tab doesn't show the new foo.txt

We should refresh list-files whenever the agent does a file operation. Possibly whenever it does any command

OpenHands Installation

Development workflow

OpenHands Version

main

Operating System

None

Logs, Errors, Screenshots, and Additional Context

No response

@rbren rbren added the bug Something isn't working label Jan 2, 2025
@linear linear bot added the Nit label Jan 2, 2025
@mamoodi
Copy link
Collaborator

mamoodi commented Jan 3, 2025

Hmmmm I know the workspace doesn't update all the time. However, for creating the files, editing files, it does auto update.
The only time I've seen it not auto-update is this flow:

  • Open VSCode
  • Edit file
  • Go back to OpenHands UI

In this scenario, you have to click on the file again to make it update.

@mamoodi mamoodi added frontend Related to frontend severity:low Minor issues or affecting single user labels Jan 3, 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 Nit severity:low Minor issues or affecting single user
Projects
None yet
Development

No branches or pull requests

2 participants