Skip to content

Commit

Permalink
fix: include the closing tag for a formatted mrkdwn channel (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
zimeg authored Dec 2, 2024
1 parent 4834b95 commit 65c8955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
}
Expand Down

0 comments on commit 65c8955

Please sign in to comment.