Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Rohit Malhotra <[email protected]>
  • Loading branch information
neubig and malhotra5 authored Nov 14, 2024
1 parent fb504f3 commit 1ddb332
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions openhands/resolver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion openhands/resolver/examples/openhands-resolver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ddb332

Please sign in to comment.