File size: 451 Bytes
57aa51e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import { Global, Module } from '@nestjs/common';
import { LoadToolsService } from '@gitroom/nestjs-libraries/chat/load.tools.service';
import { MastraService } from '@gitroom/nestjs-libraries/chat/mastra.service';
import { toolList } from '@gitroom/nestjs-libraries/chat/tools/tool.list';
@Global()
@Module({
providers: [MastraService, LoadToolsService, ...toolList],
get exports() {
return this.providers;
},
})
export class ChatModule {}
|