diff --git a/openhands/resolver/README.md b/openhands/resolver/README.md index 30984acc0e85..94e3c09fcac9 100644 --- a/openhands/resolver/README.md +++ b/openhands/resolver/README.md @@ -68,7 +68,7 @@ If you prefer to run the resolver programmatically instead of using GitHub Actio 1. Install the package: ```bash -pip install openhands-resolver +pip install openhands-ai ``` 2. Create a GitHub access token: @@ -100,7 +100,7 @@ Note: OpenHands works best with powerful models like Anthropic's Claude or OpenA The resolver can automatically attempt to fix a single issue in your repository using the following command: ```bash -python -m openhands_resolver.resolve_issue --repo [OWNER]/[REPO] --issue-number [NUMBER] +python -m openhands.resolver.resolve_issue --repo [OWNER]/[REPO] --issue-number [NUMBER] ``` For instance, if you want to resolve issue #100 in this repo, you would run: diff --git a/openhands/resolver/examples/openhands-resolver.yml b/openhands/resolver/examples/openhands-resolver.yml index 3204c5fb0b04..6555e15057c7 100644 --- a/openhands/resolver/examples/openhands-resolver.yml +++ b/openhands/resolver/examples/openhands-resolver.yml @@ -22,7 +22,7 @@ jobs: startsWith(github.event.comment.body, vars.OPENHANDS_MACRO || '@openhands-agent') && (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'MEMBER')) }} - uses: All-Hands-AI/OpenHands/openhands/resolver/.github/workflows/openhands-resolver.yml@main + uses: All-Hands-AI/OpenHands/.github/workflows/openhands-resolver.yml@main with: macro: ${{ vars.OPENHANDS_MACRO || '@openhands-agent' }} max_iterations: 50