This commit is contained in:
NAME
2026-05-15 11:18:03 +00:00
parent 7730c76e08
commit 6b4f09640f
36 changed files with 631 additions and 78 deletions
@@ -69,6 +69,8 @@ export class ContentSafetyService {
// Hard block check
for (const pattern of this.HARD_BLOCK_PATTERNS) {
if (pattern.test(content)) {
this.logger.error(`checkOutput ->FALSE -> Output contains prohibited language`);
this.logger.error({content});
return {
safe: false,
blockReason: 'Output contains prohibited language',