import { Module } from '@nestjs/common';
import { EvolutionController } from '../adapters/inbound/evolution.controller';
import { EvolutionService } from '../application/services/evolution.service';
import { ExperienceExtractorService } from '../infrastructure/claude/experience-extractor.service';
import { ConversationClient } from '../adapters/outbound/clients/conversation.client';
import { KnowledgeClient } from '../adapters/outbound/clients/knowledge.client';

@Module({
  imports: [],
  controllers: [EvolutionController],
  providers: [
    EvolutionService,
    ExperienceExtractorService,
    // 使用 API 客户端访问其他服务的数据
    ConversationClient,
    KnowledgeClient,
  ],
  exports: [EvolutionService],
})
export class EvolutionModule {}
