Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
spolu committed Oct 2, 2023
1 parent 8ba490d commit 530ba0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions connectors/src/connectors/slack/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,12 @@ async function botAnswerMessage(
case "agent_generation_success": {
fullAnswer = event.text;

let processedText = _processCiteMention(fullAnswer, action);
processedText += `\n\n <${DUST_API}/w/${connector.workspaceId}/assistant/${conversation.sId}|Continue this conversation on Dust>`;
let finalAnswer = _processCiteMention(fullAnswer, action);
finalAnswer += `\n\n <${DUST_API}/w/${connector.workspaceId}/assistant/${conversation.sId}|Continue this conversation on Dust>`;

await slackClient.chat.update({
channel: slackChannel,
text: processedText,
text: finalAnswer,
ts: mainMessage.ts as string,
thread_ts: slackMessageTs,
});
Expand Down

0 comments on commit 530ba0f

Please sign in to comment.