| 1 | import { Module } from '@nestjs/common' |
| 2 | import { config } from '../../../../config' |
| 3 | import { DashscopeModule } from '../../libs/dashscope' |
| 4 | import { ModelsConfigModule } from '../../models-config' |
| 5 | import { DashscopeVideoService } from './dashscope.service' |
| 6 | |
| 7 | @Module({ |
| 8 | imports: [ |
| 9 | DashscopeModule.forRoot(config.ai.dashscope), |
| 10 | ModelsConfigModule, |
| 11 | ], |
| 12 | providers: [DashscopeVideoService], |
| 13 | exports: [DashscopeVideoService], |
| 14 | }) |
| 15 | export class DashscopeVideoModule {} |
| 16 |