forked from All-Hands-AI/OpenHands
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PRO-936] Local dev loop with
resolver
- Loading branch information
Showing
2 changed files
with
23 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
set -e | ||
|
||
export LLM_MODEL="anthropic/claude-3.5" | ||
|
||
if [[ -z "$LLM_API_KEY" ]]; then | ||
if [[ -z "$ANTHROPIC_API_KEY" ]]; then | ||
echo "LLM_API_KEY or ANTHROPIC_API_KEY environment variable must be set." | ||
exit 1 | ||
fi | ||
export LLM_API_KEY=$ANTHROPIC_API_KEY | ||
fi | ||
|
||
export DEBUG=1 | ||
|
||
python -m openhands.resolver.resolve_issue \ | ||
--repo replayio-public/bench-devtools-10609 \ | ||
--issue-number 15 \ | ||
--issue-type issue \ | ||
--max-iterations 50 \ | ||
--comment-id 2526444494 \ | ||
--output-dir /tmp/resolver-output |