Skip to content

πŸ™Œ OpenHands: AI-Driven Development

[Feat]: Improve resolver inline pr comment localization (#7932)

Rohit Malhotra0e0f043e59ca
diff --git a/openhands/integrations/github/templates/pr_update_prompt.j2 b/openhands/integrations/github/templates/pr_update_prompt.j2
index d5fdbb6a3c..347bc6bde4 100644
--- a/openhands/integrations/github/templates/pr_update_prompt.j2
+++ b/openhands/integrations/github/templates/pr_update_prompt.j2
@@ -1,7 +1,7 @@
You are checked out to branch {{ branch_name }}, which has an open PR #{{ pr_number }}.
A comment on the PR (below) has been addressed to you. Do NOT respond to this comment via the GitHub API.
-{% if file_location %} The comment is on the file `{{ file_location }}`{% endif %}.
+{% if file_location %} The comment is in the file `{{ file_location }}` on line #{{ line_number }}{% endif %}.
# Comment
{{ pr_comment }}