remove console log

This commit is contained in:
Дмитриев Максим Сергеевич
2025-06-16 12:36:41 +03:00
parent 9d68ee735a
commit 4fe16e5aa8

View File

@@ -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