Refactor AI chat: streaming, tool calls, UI polish
All checks were successful
CI / check (pull_request) Successful in 3m25s
All checks were successful
CI / check (pull_request) Successful in 3m25s
This commit is contained in:
@@ -3,18 +3,19 @@ import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { AgentToolsModule } from '../agent-tools';
|
||||
import { AiConfigModule } from '../ai-config/ai-config.module';
|
||||
import { AiChatController } from './ai-chat.controller';
|
||||
import { AiAttachmentService } from './ai-attachment.service';
|
||||
import { AiChatService } from './ai-chat.service';
|
||||
import { AiModelStreamService } from './ai-model-stream.service';
|
||||
import { AiConversation, AiMessage, AiToolRun } from './entities';
|
||||
import { AiAttachment, AiConversation, AiMessage, AiToolRun } from './entities';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([AiConversation, AiMessage, AiToolRun]),
|
||||
TypeOrmModule.forFeature([AiAttachment, AiConversation, AiMessage, AiToolRun]),
|
||||
AiConfigModule,
|
||||
AgentToolsModule,
|
||||
],
|
||||
controllers: [AiChatController],
|
||||
providers: [AiChatService, AiModelStreamService],
|
||||
providers: [AiAttachmentService, AiChatService, AiModelStreamService],
|
||||
exports: [AiChatService],
|
||||
})
|
||||
export class AiChatModule {}
|
||||
|
||||
Reference in New Issue
Block a user