fix: отправлять email-отчёт на все заявки, а не только прошедшие через ИИ
This commit is contained in:
Binary file not shown.
+2
-3
@@ -922,9 +922,8 @@ def process_ticket_logic(req_id):
|
||||
t_log("⏭ Пропуск: Условия автосогласования не выполнены.")
|
||||
|
||||
# Отправляем письмо с накопленным логом
|
||||
if ai_was_used:
|
||||
full_log_str = "\n".join(decision_log_lines)
|
||||
send_email_report(req_id, requester_name, subject, text_to_classify, final_category, full_log_str)
|
||||
full_log_str = "\n".join(decision_log_lines)
|
||||
send_email_report(req_id, requester_name, subject, text_to_classify, final_category, full_log_str)
|
||||
|
||||
print(f"🎉 Обработка заявки {req_id} завершена!")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user