From 598d19cd5d05a216f2e681010ed8d1ab576d4fba Mon Sep 17 00:00:00 2001 From: Rohit Malhotra Date: Fri, 23 May 2025 14:39:53 -0400 Subject: [PATCH] [Feat]: slack conversation instruction template (#8648) --- .../slack/user_message_conversation_instructions.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 openhands/integrations/templates/resolver/slack/user_message_conversation_instructions.j2 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 }})`