Auto-deploy: 2026-08-05 16:46:02
This commit is contained in:
@@ -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(', ')}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user