feat: 集成 AI 对话与只读查询工具
This commit is contained in:
@@ -52,17 +52,22 @@ import {
|
||||
StudentWallet,
|
||||
WalletTransaction,
|
||||
FinancialOperation,
|
||||
AiConversation,
|
||||
AiMessage,
|
||||
AiToolRun,
|
||||
} from './entities';
|
||||
import { AuthModule } from './auth/auth.module';
|
||||
import { InitialSchema1784520727860 } from './migrations/1784520727860-InitialSchema';
|
||||
import { AddExamManagement1784600000000 } from './migrations/1784600000000-AddExamManagement';
|
||||
import { AddRoomInspections1784680000000 } from './migrations/1784680000000-AddRoomInspections';
|
||||
import { AddJinshujuMatchRules1784700000000 } from './migrations/1784700000000-AddJinshujuMatchRules';
|
||||
import { AddAiChat1784780000000 } from './migrations/1784780000000-AddAiChat';
|
||||
const allMigrations = [
|
||||
InitialSchema1784520727860,
|
||||
AddExamManagement1784600000000,
|
||||
AddRoomInspections1784680000000,
|
||||
AddJinshujuMatchRules1784700000000,
|
||||
AddAiChat1784780000000,
|
||||
];
|
||||
import { AuthorizationModule } from './authorization';
|
||||
import { RbacModule } from './rbac/rbac.module';
|
||||
@@ -94,6 +99,7 @@ import { AiConfigModule } from './ai-config/ai-config.module';
|
||||
import { WalletsModule } from './wallets/wallets.module';
|
||||
import { FinancialOperationsModule } from './financial-operations/financial-operations.module';
|
||||
import { ExamsModule } from './exams/exams.module';
|
||||
import { AiChatModule } from './ai-chat';
|
||||
|
||||
import {
|
||||
IntegrationConfig,
|
||||
@@ -168,6 +174,9 @@ import { IntegrationConfigModule } from './integration/config/config.module';
|
||||
StudentWallet,
|
||||
WalletTransaction,
|
||||
FinancialOperation,
|
||||
AiConversation,
|
||||
AiMessage,
|
||||
AiToolRun,
|
||||
];
|
||||
if (dbType === 'mysql') {
|
||||
return {
|
||||
@@ -220,6 +229,7 @@ import { IntegrationConfigModule } from './integration/config/config.module';
|
||||
AgentToolsModule,
|
||||
ExpenseTypesModule,
|
||||
AiConfigModule,
|
||||
AiChatModule,
|
||||
],
|
||||
providers: [
|
||||
{ provide: APP_GUARD, useClass: ThrottlerGuard },
|
||||
|
||||
Reference in New Issue
Block a user