Strip unnecessary tags from browser output
# - Added HTML content preprocessing to remove `<script>`, `<style>`, and other non-textual elements.
# - Improved working directory tracking for enhanced context in `cd` command executions.
# - Refined memory management by optimizing the condensation of older memories for better efficiency.
# - Set a timeout for `run` actions to address potential hang-ups with interactive commands.
# - Laid the foundation for handling background processes, allowing for server initiation and management of long-running tasks.
@FreightCompanionDavid thanks for the contribution!
The browser stripping tags is great--let's put it in opendevin/actions/browse.py so that other agents can use it.
I don't see these two updates:
- Set a timeout for
runactions to address potential hang-ups with interactive commands. - Laid the foundation for handling background processes, allowing for server initiation and management of long-running tasks.
We already have both of these in the controller.
The other stuff I think we should probably revert--I don't think it adds much to the agent. LMK if you think otherwise.
I just did my best. 😁 I started to get a little bit lost when I was way deep in it so sorry about any accuracies
@FreightCompanionDavid are you open to just splitting out the browser changes, and putting them in browser.py?
Yes, I'm on it.