Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Make trigger comment more prominent in github bot initial message (#14296)

Juan Michelini786c7d8e5dee
diff --git a/openhands/app_server/integrations/templates/resolver/github/issue_comment_initial_message.j2 b/openhands/app_server/integrations/templates/resolver/github/issue_comment_initial_message.j2
index 95c9062c74..40a27eb98d 100644
--- a/openhands/app_server/integrations/templates/resolver/github/issue_comment_initial_message.j2
+++ b/openhands/app_server/integrations/templates/resolver/github/issue_comment_initial_message.j2
@@ -1,12 +1,14 @@
You are requested to fix issue #{{ issue_number }}: "{{ issue_title }}" in a repository.
-A comment on the issue has been addressed to you.
-# Issue Body
-{{ issue_body }}
+A key comment on the issue has been addressed to you. The key comment is:
-# Comment
{{ issue_comment }}
+Focus on this comment first; it represents the latest request and should take precedence over earlier comments if they conflict.
+
+# Issue Body
+{{ issue_body }}
+
{% if previous_comments %}
# Previous Comments
For reference, here are the previous comments on the issue: