feat: AI 对话支持 A2UI 表单/审查/图表与 Excel 读取
This commit is contained in:
@@ -4,18 +4,46 @@ 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 { AiChartService } from './ai-chart.service';
|
||||
import { AiExcelReaderService } from './ai-excel-reader.service';
|
||||
import { AiFormService } from './ai-form.service';
|
||||
import { AiReviewService } from './ai-review.service';
|
||||
import { AiChatService } from './ai-chat.service';
|
||||
import { AiModelStreamService } from './ai-model-stream.service';
|
||||
import { AiAttachment, AiConversation, AiMessage, AiToolRun } from './entities';
|
||||
import { OfficeCliService } from './office-cli.service';
|
||||
import {
|
||||
AiAttachment,
|
||||
AiConversation,
|
||||
AiForm,
|
||||
AiMessage,
|
||||
AiReview,
|
||||
AiToolRun,
|
||||
} from './entities';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([AiAttachment, AiConversation, AiMessage, AiToolRun]),
|
||||
TypeOrmModule.forFeature([
|
||||
AiAttachment,
|
||||
AiConversation,
|
||||
AiForm,
|
||||
AiMessage,
|
||||
AiReview,
|
||||
AiToolRun,
|
||||
]),
|
||||
AiConfigModule,
|
||||
AgentToolsModule,
|
||||
],
|
||||
controllers: [AiChatController],
|
||||
providers: [AiAttachmentService, AiChatService, AiModelStreamService],
|
||||
providers: [
|
||||
AiAttachmentService,
|
||||
AiChartService,
|
||||
AiExcelReaderService,
|
||||
AiFormService,
|
||||
AiReviewService,
|
||||
OfficeCliService,
|
||||
AiChatService,
|
||||
AiModelStreamService,
|
||||
],
|
||||
exports: [AiChatService],
|
||||
})
|
||||
export class AiChatModule {}
|
||||
|
||||
Reference in New Issue
Block a user