diff --git a/src/upload/upload.controller.ts b/src/upload/upload.controller.ts index f95f7a7..4b932ab 100644 --- a/src/upload/upload.controller.ts +++ b/src/upload/upload.controller.ts @@ -11,6 +11,7 @@ import { Res, BadRequestException, } from '@nestjs/common'; +import { SkipThrottle } from '@nestjs/throttler'; import { ApiTags, ApiOperation, @@ -144,6 +145,7 @@ export class UploadController { @Get('presigned-download-url') @Public() + @SkipThrottle() // avatars load for every agent card — don't count against the per-user throttle @ApiOperation({ summary: 'Get a presigned download URL for an S3 key (public endpoint)' }) @ApiQuery({ name: 'key', required: true, description: 'S3 key (e.g., avatars/uuid.png)' }) @ApiResponse({ status: 200, description: 'Presigned URL returned successfully' })