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

Support microagents in CLI and Headless #5971

Merged
merged 2 commits into from
Jan 2, 2025
Merged

Support microagents in CLI and Headless #5971

merged 2 commits into from
Jan 2, 2025

Conversation

rbren
Copy link
Collaborator

@rbren rbren commented Jan 2, 2025

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
    CHANGELOG: custom microagents are now supported in headless and CLI modes

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

Main goal was to set up custom microagents, but I took a minute to DRY this code out a bit. We could probably do the same with the agent set up in the server, but leaving that alone for now for stability


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:075bfec-nikolaik   --name openhands-app-075bfec   docker.all-hands.dev/all-hands-ai/openhands:075bfec

@rbren rbren marked this pull request as ready for review January 2, 2025 15:54
@rbren
Copy link
Collaborator Author

rbren commented Jan 2, 2025

OK verified things seem to be working well for both CLI and headless

@enyst
Copy link
Collaborator

enyst commented Jan 2, 2025

I merged main here, because dummy agent job was stuck again. So it has the latest fixes there.

@rbren rbren changed the title Refactor agent setup Support microagents in CLI and Headless Jan 2, 2025
Copy link
Collaborator

@enyst enyst left a comment

Choose a reason for hiding this comment

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

I ran one eval instance, it looks as expected (it did get the micro agent, Xingyao's PR fixes that)

@rbren rbren merged commit 8983d71 into main Jan 2, 2025
14 checks passed
@rbren rbren deleted the rb/refactor-cli branch January 2, 2025 21:52
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