From 42f688bc60115d27dec3999605732e5f92819816 Mon Sep 17 00:00:00 2001 From: Sulthan Nauval Abdillah Date: Mon, 10 Aug 2026 09:54:39 +0000 Subject: [PATCH] fix(ops): intelligence toast says what its number means MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 'Extracted N entities' read as a raw-extraction tally and contradicted the Entities tab whenever dedup collapsed rows; backend now reports the deduped per-document count (RantAIClaw plan 095), and the toast wording matches: 'Found N entities · M relations in this document' --- src/components/ops/doc-intelligence-drawer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ops/doc-intelligence-drawer.tsx b/src/components/ops/doc-intelligence-drawer.tsx index 7e682f0..71923c4 100644 --- a/src/components/ops/doc-intelligence-drawer.tsx +++ b/src/components/ops/doc-intelligence-drawer.tsx @@ -58,7 +58,7 @@ export function DocIntelligenceBody({ documentId }: { documentId: string }) { try { const r = await api.kbReExtractDocument(documentId); toast.success( - `Extracted ${formatNumber(r.entities)} entities · ${formatNumber(r.relations)} relations`, + `Found ${formatNumber(r.entities)} entities · ${formatNumber(r.relations)} relations in this document`, { id: t }, ); intel.refresh();