File tree Expand file tree Collapse file tree 2 files changed +23
-9
lines changed Expand file tree Collapse file tree 2 files changed +23
-9
lines changed Original file line number Diff line number Diff line change @@ -689,16 +689,9 @@ def int_or_none(value):
689
689
690
690
my_args = parser .parse_args ()
691
691
692
+ # NOTE: The correct image name is passed in as argument to the script by the GH action.
693
+ # If we don't pass it in, it will auto-build it on the fly. Useful for local dev loop.
692
694
runtime_container_image = my_args .runtime_container_image
693
- if runtime_container_image is None :
694
- runtime_container_image = (
695
- # BEGIN REPLAY
696
- # if we start publishing versions of the runtime image, we can use this line. until then just use the latest main build
697
- # f'ghcr.io/replayio-public/runtime:{openhands.__version__}-nikolaik'
698
- 'ghcr.io/replayio-public/runtime:main-nikolaik'
699
- # END REPLAY
700
- )
701
-
702
695
owner , repo = my_args .repo .split ('/' )
703
696
token = my_args .token if my_args .token else os .getenv ('GITHUB_TOKEN' )
704
697
username = my_args .username if my_args .username else os .getenv ('GITHUB_USERNAME' )
Original file line number Diff line number Diff line change
1
+ set -e
2
+
3
+ export LLM_MODEL=" anthropic/claude-3.5"
4
+
5
+ if [[ -z " $LLM_API_KEY " ]]; then
6
+ if [[ -z " $ANTHROPIC_API_KEY " ]]; then
7
+ echo " LLM_API_KEY or ANTHROPIC_API_KEY environment variable must be set."
8
+ exit 1
9
+ fi
10
+ export LLM_API_KEY=$ANTHROPIC_API_KEY
11
+ fi
12
+
13
+ export DEBUG=1
14
+
15
+ python -m openhands.resolver.resolve_issue \
16
+ --repo replayio-public/bench-devtools-10609 \
17
+ --issue-number 15 \
18
+ --issue-type issue \
19
+ --max-iterations 50 \
20
+ --comment-id 2526444494 \
21
+ --output-dir /tmp/resolver-output
You can’t perform that action at this time.
0 commit comments