Spaces:
Runtime error
Runtime error
Download src/core/plugins/plugins.module.ts from MuhammadNoman7600/qwen_2.5_model: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/spaces/MuhammadNoman7600/qwen_2.5_model/resolve/main/src/core/plugins/plugins.module.ts
- Command line
-
hf download hf://spaces/MuhammadNoman7600/qwen_2.5_model/src/core/plugins/plugins.module.ts
-
curl -L -o plugins.module.ts https://huggingface.co/spaces/MuhammadNoman7600/qwen_2.5_model/resolve/main/src/core/plugins/plugins.module.ts
1.02 kB
| import { Global, Module } from '@nestjs/common'; | |
| import { TypeOrmModule } from '@nestjs/typeorm'; | |
| import { PluginLoaderService } from './plugin-loader.service'; | |
| import { PluginStorageService } from './plugin-storage.service'; | |
| import { ConversationMapping } from '../../modules/integration/entities/conversation-mapping.entity'; | |
| import { ConversationMappingService } from '../../modules/integration/conversation-mapping.service'; | |
| () // Make plugin services available everywhere | |
| ({ | |
| imports: [TypeOrmModule.forFeature([ConversationMapping], 'data')], | |
| // ConversationMappingService is resolved lazily (ModuleRef) by PluginLoaderService, the same | |
| // pattern used for MessageService/SessionService, to avoid a static import edge back into this | |
| // module's graph — so it only needs to be a provider here, not re-exported. | |
| providers: [PluginStorageService, PluginLoaderService, ConversationMappingService], | |
| exports: [PluginLoaderService, PluginStorageService], | |
| }) | |
| export class PluginsModule {} | |