import { Module } from "@nestjs/common";
import { HttpModule } from "@nestjs/axios";

import { AiProxyController } from "./ai-proxy.controller";
import { AiProxyService } from "./ai-proxy.service";

@Module({
  imports: [
    HttpModule.register({
      timeout: 45000,
      maxRedirects: 0,
    }),
  ],
  controllers: [AiProxyController],
  providers: [AiProxyService],
})
export class AiProxyModule {}
