remove console log
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user