OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Second task continues to use context/state from the first task

Open rbren opened this issue 1 year ago • 1 comments

Describe the bug I asked OpenDevin to run ls, then asked it to do something else. When responding to the second task, it seemed confused and still knew about the ls task

It's possible we'll want to share history between tasks in the future, but right now this definitely isn't intentional. There's data leaking somewhere. Screenshot 2024-03-30 at 12 33 20 PM

See screenshot

Steps to Reproduce

  1. Ask for task A
  2. Wait for it to finish
  3. Ask for task B

Expected behavior Task B is totally independent of A

Actual behavior Task B is reusing some state from A

Additional context

rbren avatar Mar 30 '24 16:03 rbren

Noting that I literally have to kill the server and restart it to get back to a fresh context

rbren avatar Apr 15 '24 23:04 rbren