added ai-moderation image and text

This commit is contained in:
SlimusMinus
2026-07-29 00:56:32 +03:00
parent 7899ebcfb0
commit a6fb187212
34 changed files with 708 additions and 8 deletions

View File

@@ -0,0 +1,19 @@
package com.krylov.refound.ai.exception;
import java.util.List;
import lombok.Getter;
@Getter
public class ContentBlockedException extends RuntimeException {
private final String reason;
private final List<String> detectedLabels;
public ContentBlockedException(String reason, List<String> detectedLabels) {
super(reason);
this.reason = reason;
this.detectedLabels = detectedLabels;
}
}