refactor: remove unused OnModuleInit import from LlmNluHelper

This commit is contained in:
medchedli 2025-05-29 16:07:21 +01:00
parent 4492bbd4b8
commit 1b12f402c5

View File

@ -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). * 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 { import { Injectable, OnApplicationBootstrap } from '@nestjs/common';
Injectable,
OnApplicationBootstrap,
OnModuleInit,
} from '@nestjs/common';
import { OnEvent } from '@nestjs/event-emitter'; import { OnEvent } from '@nestjs/event-emitter';
import Handlebars from 'handlebars'; import Handlebars from 'handlebars';
@ -28,7 +24,7 @@ import { LLM_NLU_HELPER_NAME } from './settings';
@Injectable() @Injectable()
export default class LlmNluHelper export default class LlmNluHelper
extends BaseNlpHelper<typeof LLM_NLU_HELPER_NAME> extends BaseNlpHelper<typeof LLM_NLU_HELPER_NAME>
implements OnModuleInit, OnApplicationBootstrap implements OnApplicationBootstrap
{ {
private languageClassifierPrompt: string; private languageClassifierPrompt: string;