mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-20 12:22:21 -06:00
refactor: evolution bot
This commit is contained in:
@@ -980,6 +980,10 @@ export class OpenaiController extends ChatbotController implements ChatbotContro
|
||||
return;
|
||||
}
|
||||
|
||||
if (session && !session.awaitUser) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (debounceTime && debounceTime > 0) {
|
||||
this.processDebounce(this.userMessageDebounce, content, remoteJid, debounceTime, async (debouncedContent) => {
|
||||
if (findBot.botType === 'assistant') {
|
||||
|
||||
Reference in New Issue
Block a user