Auto-deploy: 2026-08-05 16:46:02

This commit is contained in:
Hamza-Ayed
2026-08-05 16:46:02 +03:00
parent ba1eff212c
commit 2ca5a74fa4
4 changed files with 123 additions and 71 deletions
+2
View File
@@ -592,8 +592,10 @@
// the server had to fall back because the model tried to fabricate.
const ats = response.data.ats || {};
let msg = '✅ PDF downloaded';
if (ats.pages) msg += ` — ${ats.pages}p`;
if (ats.score) msg += ` — est. ATS match ${ats.score}%`;
if (ats.tailored === false) msg += ' (untailored fallback)';
if (ats.pages > 2) msg += ' ⚠️ over 2 pages';
if (ats.violations && ats.violations.length) {
msg += ` ⚠️ blocked fabricated claims: ${ats.violations.join(', ')}`;
}