OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

fix: reset context between tasks

Open johnnyaug opened this issue 1 year ago • 1 comments

Closes #399.

Suggesting to use the reset() method of the agent to solve this. I chose not to reset the long term memory, with the thought it could be interesting for subsequent tasks. We may want to change this in the future.

johnnyaug avatar Apr 17 '24 12:04 johnnyaug

This seems like it will probably work! I'll give it a try today

rbren avatar Apr 17 '24 13:04 rbren

Seems to do the trick. Thank you!

rbren avatar Apr 17 '24 15:04 rbren