import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AiConfig } from './ai-config.entity';
import { AiConfigController } from './ai-config.controller';
import { AiConfigService } from './ai-config.service';
import { AiService } from './ai.service';
import { AiController } from './ai.controller';

@Module({
  imports: [TypeOrmModule.forFeature([AiConfig])],
  controllers: [AiConfigController, AiController],
  providers: [AiConfigService, AiService],
  exports: [AiConfigService] // 添加服务导出
})
export class AiModule {}