Skip to content

Commit

Permalink
fix: chatbots send message text buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre-Prado committed Nov 14, 2024
1 parent 1665654 commit 753f4ba
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/api/integrations/chatbot/dify/services/dify.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,8 @@ export class DifyService {
},
false,
);
textBuffer = '';
}
textBuffer = '';
}

if (mediaType === 'audio') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ export class EvolutionBotService {
},
false,
);
textBuffer = '';
}
textBuffer = '';
}

if (mediaType === 'audio') {
Expand Down Expand Up @@ -274,8 +274,8 @@ export class EvolutionBotService {
},
false,
);
textBuffer = '';
}
textBuffer = '';
}

sendTelemetry('/message/sendText');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ export class FlowiseService {
},
false,
);
textBuffer = '';
}
textBuffer = '';
}

if (mediaType === 'audio') {
Expand Down Expand Up @@ -273,8 +273,8 @@ export class FlowiseService {
},
false,
);
textBuffer = '';
}
textBuffer = '';
}

sendTelemetry('/message/sendText');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ export class OpenaiService {
},
false,
);
textBuffer = '';
}
textBuffer = '';
}

if (mediaType === 'audio') {
Expand Down Expand Up @@ -318,8 +318,8 @@ export class OpenaiService {
},
false,
);
textBuffer = '';
}
textBuffer = '';
}

sendTelemetry('/message/sendText');
Expand Down

0 comments on commit 753f4ba

Please sign in to comment.