changelog

This commit is contained in:
Davidson Gomes
2024-08-30 11:38:41 -03:00
parent 256bd3ef73
commit f0840e07fe
13 changed files with 22 additions and 12 deletions

View File

@@ -46,7 +46,7 @@ export class ChatbotController {
public prismaRepository: PrismaRepository;
public waMonitor: WAMonitoringService;
public readonly logger = new Logger(ChatbotController.name);
public readonly logger = new Logger('ChatbotController');
constructor(prismaRepository: PrismaRepository, waMonitor: WAMonitoringService) {
this.prisma = prismaRepository;

View File

@@ -25,7 +25,7 @@ export class DifyController extends ChatbotController implements ChatbotControll
this.sessionRepository = this.prismaRepository.integrationSession;
}
public readonly logger = new Logger(DifyController.name);
public readonly logger = new Logger('DifyController');
integrationEnabled = configService.get<Dify>('DIFY').ENABLED;
botRepository: any;

View File

@@ -23,7 +23,7 @@ export class EvolutionBotController extends ChatbotController implements Chatbot
this.sessionRepository = this.prismaRepository.integrationSession;
}
public readonly logger = new Logger(EvolutionBotController.name);
public readonly logger = new Logger('EvolutionBotController');
integrationEnabled: boolean;
botRepository: any;

View File

@@ -23,7 +23,7 @@ export class FlowiseController extends ChatbotController implements ChatbotContr
this.sessionRepository = this.prismaRepository.integrationSession;
}
public readonly logger = new Logger(FlowiseController.name);
public readonly logger = new Logger('FlowiseController');
integrationEnabled: boolean;
botRepository: any;

View File

@@ -27,7 +27,7 @@ export class OpenaiController extends ChatbotController implements ChatbotContro
this.credsRepository = this.prismaRepository.openaiCreds;
}
public readonly logger = new Logger(OpenaiController.name);
public readonly logger = new Logger('OpenaiController');
integrationEnabled = configService.get<Openai>('OPENAI').ENABLED;
botRepository: any;

View File

@@ -27,7 +27,7 @@ export class TypebotController extends ChatbotController implements ChatbotContr
this.sessionRepository = this.prismaRepository.integrationSession;
}
public readonly logger = new Logger(TypebotController.name);
public readonly logger = new Logger('TypebotController');
integrationEnabled = configService.get<Typebot>('TYPEBOT').ENABLED;
botRepository: any;