2b7ef65cce
CI / verify (pull_request) Has been cancelled
Add owner-scoped model API settings, uploadable knowledge bases, and WeCom bot AI/KB wiring with OpenAI-compatible URL normalization. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
914 B
TypeScript
26 lines
914 B
TypeScript
import { Module, forwardRef } from '@nestjs/common';
|
|
import { CommonModule } from '../../modules/common/common.module';
|
|
import { IntegrationsModule } from '../integrations.module';
|
|
import { LlmModule } from '../llm/llm.module';
|
|
import { WecomAibotService } from './wecom-aibot.service';
|
|
import { WecomBotActionsService } from './wecom-bot-actions.service';
|
|
import { WecomBotAiService } from './wecom-bot-ai.service';
|
|
import { WecomBotSessionService } from './wecom-bot-session.service';
|
|
|
|
/** 企微多机器人:依赖 Common(工单)+ Integrations(短信)+ Llm,不反向被 Integrations 引用 */
|
|
@Module({
|
|
imports: [
|
|
forwardRef(() => CommonModule),
|
|
forwardRef(() => IntegrationsModule),
|
|
LlmModule,
|
|
],
|
|
providers: [
|
|
WecomBotSessionService,
|
|
WecomBotActionsService,
|
|
WecomBotAiService,
|
|
WecomAibotService,
|
|
],
|
|
exports: [WecomAibotService],
|
|
})
|
|
export class WecomModule {}
|