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

feat(agent): add BrowseURLAction back (produce markdown from URL) #5285

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

xingyaoww
Copy link
Collaborator

@xingyaoww xingyaoww commented Nov 26, 2024

End-user friendly description of the problem this fixes or functionality that this introduces

  • Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions

Add a microagent that would allow the agent to read webpage, and convert it to markdown file.
Screenshot of it working:

image


Link of any specific issues this addresses


To run this PR locally, use the following command:

docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:87f5e9a-nikolaik   --name openhands-app-87f5e9a   docker.all-hands.dev/all-hands-ai/openhands:87f5e9a

Copy link
Contributor

@neubig neubig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we evaluate this in some way? WebArena would be ideal, but barring that miniwob

@xingyaoww
Copy link
Collaborator Author

xingyaoww commented Nov 26, 2024

@neubig this will ONLY be triggered when "https://" or "https://" keywords are detected from user messages -- which a lot of instances (if not all) in miniwob/webarena do not have, means these benchmark likely won't be able to evaluate this changes?

@xingyaoww xingyaoww marked this pull request as draft November 26, 2024 18:17
@xingyaoww xingyaoww changed the title feat(agent): add webpage read microagent feat(agent): add BrowseURLAction back (produce markdown from URL) Nov 26, 2024
@neubig
Copy link
Contributor

neubig commented Nov 26, 2024

I think miniwob and webarena tell you the URL to go to? (but if not, maybe they should...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants