mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-17 04:32:53 -06:00
parent
427c994993
commit
d09fd4d84f
@ -965,6 +965,9 @@ export class OpenaiController extends ChatbotController implements ChatbotContro
|
|||||||
|
|
||||||
const content = getConversationMessage(msg);
|
const content = getConversationMessage(msg);
|
||||||
|
|
||||||
|
if(session?.status === 'paused') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
let findBot = (await this.findBotTrigger(this.botRepository, content, instance, session)) as OpenaiBot;
|
let findBot = (await this.findBotTrigger(this.botRepository, content, instance, session)) as OpenaiBot;
|
||||||
|
|
||||||
if (!findBot) {
|
if (!findBot) {
|
||||||
|
Loading…
Reference in New Issue
Block a user