Download libraries/nestjs-libraries/src/chat/chat.module.ts from Leon4gr45/postio: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/spaces/Leon4gr45/postio/resolve/main/libraries/nestjs-libraries/src/chat/chat.module.ts
- Command line
-
hf download hf://spaces/Leon4gr45/postio/libraries/nestjs-libraries/src/chat/chat.module.ts
-
curl -L -o chat.module.ts https://huggingface.co/spaces/Leon4gr45/postio/resolve/main/libraries/nestjs-libraries/src/chat/chat.module.ts
451 Bytes
| 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'; | |
| () | |
| ({ | |
| providers: [MastraService, LoadToolsService, ...toolList], | |
| get exports() { | |
| return this.providers; | |
| }, | |
| }) | |
| export class ChatModule {} | |