From 4fe16e5aa8f6cddcf1186fd1e9a2fe25f40c43d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B5=D0=B2=20=D0=9C?= =?UTF-8?q?=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=A1=D0=B5=D1=80=D0=B3=D0=B5?= =?UTF-8?q?=D0=B5=D0=B2=D0=B8=D1=87?= Date: Mon, 16 Jun 2025 12:36:41 +0300 Subject: [PATCH] remove console log --- .../kfu-m-24-1/sber_mobile/initiatives-ai-agents/moderation.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/routers/kfu-m-24-1/sber_mobile/initiatives-ai-agents/moderation.ts b/server/routers/kfu-m-24-1/sber_mobile/initiatives-ai-agents/moderation.ts index dc2022c..48162c0 100644 --- a/server/routers/kfu-m-24-1/sber_mobile/initiatives-ai-agents/moderation.ts +++ b/server/routers/kfu-m-24-1/sber_mobile/initiatives-ai-agents/moderation.ts @@ -47,8 +47,6 @@ export const moderationText = async (title: string, description: string, GIGA_AU ` const result = await moderationLlm.invoke(prompt); - console.log(result) - // Дополнительная проверка if(!result.isApproved && result.comment.trim() === '' && (!result.fixedText || result.fixedText.trim() === '')) { result.comment = 'Предложение отклонено. Причина: несоблюдение требований к оформлению или содержанию.', result.fixedText = description