mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: improve error logging for LLM NLU helper prompt initialization
This commit is contained in:
@@ -64,6 +64,7 @@ export default class LlmNluHelper
|
||||
} catch (error) {
|
||||
this.logger.warn(
|
||||
'Settings for LLM NLU helper not found or invalid, language classifier prompt will not be built.',
|
||||
error,
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -86,15 +87,11 @@ export default class LlmNluHelper
|
||||
} catch (error) {
|
||||
this.logger.warn(
|
||||
'Settings for LLM NLU helper not found or invalid, trait classifier prompts will not be built.',
|
||||
error,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
async onModuleInit() {
|
||||
super.onModuleInit();
|
||||
// Add any additional initialization logic here if needed
|
||||
}
|
||||
|
||||
async onApplicationBootstrap() {
|
||||
try {
|
||||
this.logger.log('Initializing LLM NLU helper, building prompts...');
|
||||
|
||||
Reference in New Issue
Block a user