OpenHands
OpenHands copied to clipboard
Second task continues to use context/state from the first task
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.
See screenshot
Steps to Reproduce
- Ask for task A
- Wait for it to finish
- 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
Noting that I literally have to kill the server and restart it to get back to a fresh context