Skip to content

πŸ™Œ OpenHands: AI-Driven Development

[Feat]: slack conversation instruction template (#8648)

Rohit Malhotra598d19cd5d05
diff --git a/openhands/integrations/templates/resolver/slack/user_message_conversation_instructions.j2 b/openhands/integrations/templates/resolver/slack/user_message_conversation_instructions.j2
new file mode 100644
index 0000000000..a6570947e5
--- /dev/null
+++ b/openhands/integrations/templates/resolver/slack/user_message_conversation_instructions.j2
@@ -0,0 +1,11 @@
+When performing your task, make sure to reference the additional context if needed.
+These are a list of text messages attached in order of most recent.
+
+{% for message in messages %}
+{{ message }}
+{% if not loop.last %}\n\n{% endif %}
+{% endfor %}
+
+
+If you opened a pull request, please leave the following comment at the end your summary and pull request description
+`{{ username }} can click here to [continue refining the PR]({{ conversation_url }})`