All files / src/interactive-chat chat.module.ts

100% Statements 23/23
100% Branches 0/0
100% Functions 5/5
100% Lines 21/21

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 356x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x         18x   18x     18x 18x 18x             6x  
import { Module, forwardRef } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ChatService } from './chat.service';
import { StreamingController } from './streaming.controller';
import { SessionInput } from '../core-entities/session-input.entity';
import { AIAction } from '../core-entities/ai-action.entity';
import { LlmProviderModule } from '../llm-provider/llm-provider.module';
import { EventsModule } from '../events/events.module';
import { LlmResponsesModule } from '../llm-responses/llm-responses.module';
import { ApplicationStateModule } from '../application-state/application-state.module';
import { MessageBusModule } from '../message-bus/message-bus.module';
import { SessionsModule } from '../sessions/sessions.module';
import { SystemPromptsModule } from '../system-prompts/system-prompts.module';
import { LlmOrchestrationModule } from '../llm-orchestration/llm-orchestration.module';
import { SubAgentsModule } from '../sub-agents/sub-agents.module';
 
@Module({
  imports: [
    TypeOrmModule.forFeature([SessionInput, AIAction]),
    forwardRef(() => LlmProviderModule),
    EventsModule,
    forwardRef(() => LlmResponsesModule),
    ApplicationStateModule,
    MessageBusModule,
    forwardRef(() => SessionsModule),
    forwardRef(() => SystemPromptsModule),
    forwardRef(() => LlmOrchestrationModule),
    SubAgentsModule,
  ],
  controllers: [StreamingController],
  providers: [ChatService],
  exports: [ChatService, InteractiveChatModule],
})
export class InteractiveChatModule {}