Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Conversation

@malhotra5
Copy link
Collaborator

@malhotra5 malhotra5 commented Nov 10, 2024

This PR partially address issue #232

Changes

  1. You can now trigger Openhands for Github issues by leaving a new comment on the issue with the macro @openhands-agent
  2. Openhands only considers the new comment with macro, and the original title/body of the issue as context
  3. If you want Openhands to use every comment on an issue as context, the fix-me label should be used instead of the macro

Sample test with macro

Workflow log

Future work

I'm thinking of doing the following work on separate PRs

  1. Starting the resolver from comments containing macro on PRs
  2. Allowing users to customize the macro that triggers the resolver

@malhotra5 malhotra5 requested a review from neubig November 10, 2024 09:50
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.

Looks great, thanks! I think this fixes https://github.com/All-Hands-AI/openhands-resolver/issues/232

@neubig neubig merged commit 540b01c into main Nov 11, 2024
@neubig neubig deleted the feature/macro-invocation branch November 11, 2024 13:48
@malhotra5
Copy link
Collaborator Author

I think it only partially fixes #232; need to add similar functionality for PR comments as well 🙂

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants