From 1ddb332529bfcb03b433119ddfa4057d7d6e3c1c Mon Sep 17 00:00:00 2001 From: Graham Neubig Date: Wed, 13 Nov 2024 20:26:40 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Rohit Malhotra --- openhands/resolver/README.md | 4 ++-- openhands/resolver/examples/openhands-resolver.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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