From a9c737da3fc46620b702d712cacb3323d5a1f411 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Sat, 24 Aug 2024 08:01:42 -0300 Subject: [PATCH] fix: chatbot services --- Dockerfile | 2 +- .../chatbot/openai/controllers/openai.controller.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c6799545..2b937b99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM node:20-alpine AS builder RUN apk update && \ apk add git ffmpeg wget curl bash -LABEL version="2.0.10" description="Api to control whatsapp features through http requests." +LABEL version="2.1.0" description="Api to control whatsapp features through http requests." LABEL maintainer="Davidson Gomes" git="https://github.com/DavidsonGomes" LABEL contact="contato@atendai.com" diff --git a/src/api/integrations/chatbot/openai/controllers/openai.controller.ts b/src/api/integrations/chatbot/openai/controllers/openai.controller.ts index ebec1315..6ebd2ac7 100644 --- a/src/api/integrations/chatbot/openai/controllers/openai.controller.ts +++ b/src/api/integrations/chatbot/openai/controllers/openai.controller.ts @@ -1006,6 +1006,7 @@ export class OpenaiController extends ChatbotController implements ChatbotContro await this.openaiService.processOpenaiChatCompletion( this.waMonitor.waInstances[instance.instanceName], remoteJid, + pushName, findBot, session, settings, @@ -1031,6 +1032,7 @@ export class OpenaiController extends ChatbotController implements ChatbotContro await this.openaiService.processOpenaiChatCompletion( this.waMonitor.waInstances[instance.instanceName], remoteJid, + pushName, findBot, session, settings,