Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Proposed update to resolver prompt (#8473)

Graham Neubig5ad11e73b82c
diff --git a/openhands/integrations/templates/resolver/github/issue_comment_prompt.j2 b/openhands/integrations/templates/resolver/github/issue_comment_prompt.j2
index 3aaaee9249..e6f74a5996 100644
--- a/openhands/integrations/templates/resolver/github/issue_comment_prompt.j2
+++ b/openhands/integrations/templates/resolver/github/issue_comment_prompt.j2
@@ -15,7 +15,8 @@ A comment on the issue has been addressed to you.
When you're done, make sure to
-1. Use the `GITHUB_TOKEN` environment variable and GitHub API to open a new PR
-2. Name the branch using `openhands/` as a prefix (e.g `openhands/update-readme`)
-3. The PR description should mention that it "fixes" or "closes" the issue number
-4. Make sure to leave the following sentence at the end of the PR description: `@{{ username }} can click here to [continue refining the PR]({{ conversation_url }})`
+1. Re-read the issue title, body, and comments and make sure that you have successfully implemented all requirements.
+2. Use the `GITHUB_TOKEN` environment variable and GitHub API to open a new PR
+3. Name the branch using `openhands/` as a prefix (e.g `openhands/update-readme`)
+4. The PR description should mention that it "fixes" or "closes" the issue number
+5. Make sure to leave the following sentence at the end of the PR description: `@{{ username }} can click here to [continue refining the PR]({{ conversation_url }})`