mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(api): add support to llm-nlu helper
This commit is contained in:
@@ -38,6 +38,7 @@ export class AttachmentModule implements OnApplicationBootstrap {
|
||||
if (!AppInstance.isReady()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Ensure the directories exists
|
||||
if (!existsSync(config.parameters.uploadDir)) {
|
||||
mkdirSync(config.parameters.uploadDir, { recursive: true });
|
||||
|
||||
Reference in New Issue
Block a user