From 1b12f402c514370f85a0866fc4be5c9e3eee765c Mon Sep 17 00:00:00 2001 From: medchedli Date: Thu, 29 May 2025 16:07:21 +0100 Subject: [PATCH] refactor: remove unused OnModuleInit import from LlmNluHelper --- api/src/extensions/helpers/llm-nlu/index.helper.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/api/src/extensions/helpers/llm-nlu/index.helper.ts b/api/src/extensions/helpers/llm-nlu/index.helper.ts index 4b9a04c5..82241399 100644 --- a/api/src/extensions/helpers/llm-nlu/index.helper.ts +++ b/api/src/extensions/helpers/llm-nlu/index.helper.ts @@ -6,11 +6,7 @@ * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). */ -import { - Injectable, - OnApplicationBootstrap, - OnModuleInit, -} from '@nestjs/common'; +import { Injectable, OnApplicationBootstrap } from '@nestjs/common'; import { OnEvent } from '@nestjs/event-emitter'; import Handlebars from 'handlebars'; @@ -28,7 +24,7 @@ import { LLM_NLU_HELPER_NAME } from './settings'; @Injectable() export default class LlmNluHelper extends BaseNlpHelper - implements OnModuleInit, OnApplicationBootstrap + implements OnApplicationBootstrap { private languageClassifierPrompt: string;