From 65c8955051f3a600d1243261ea1fb2889db985a4 Mon Sep 17 00:00:00 2001 From: Eden Zimbelman Date: Mon, 2 Dec 2024 13:19:52 -0800 Subject: [PATCH] fix: include the closing tag for a formatted mrkdwn channel (#19) --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 40d3f19..e79080f 100644 --- a/app.js +++ b/app.js @@ -151,7 +151,7 @@ const assistant = new Assistant({ } // Prepare and tag the prompt and messages for LLM processing - let llmPrompt = `Please generate a brief summary of the following messages from Slack channel <#${threadContext.channel_id}:`; + let llmPrompt = `Please generate a brief summary of the following messages from Slack channel <#${threadContext.channel_id}>:`; for (const m of channelHistory.messages.reverse()) { if (m.user) llmPrompt += `\n<@${m.user}> says: ${m.text}`; }