diff --git a/hindsight-control-plane/src/components/bank-profile-view.tsx b/hindsight-control-plane/src/components/bank-profile-view.tsx index bdcc737d..93e2f6fe 100644 --- a/hindsight-control-plane/src/components/bank-profile-view.tsx +++ b/hindsight-control-plane/src/components/bank-profile-view.tsx @@ -100,7 +100,7 @@ interface BankStats { // Consolidation stats last_consolidated_at: string | null; pending_consolidation: number; - total_mental_models: number; + total_observations: number; } interface Operation { @@ -607,8 +607,8 @@ export function BankProfileView({ hideReflectFields = false }: { hideReflectFiel This will delete all consolidated knowledge. Observations will be regenerated the next time consolidation runs.
- {stats && stats.total_mental_models > 0 && ( -This will delete {stats.total_mental_models} observations.
+ {stats && stats.total_observations > 0 && ( +This will delete {stats.total_observations} observations.
)} diff --git a/hindsight-control-plane/src/components/bank-stats-view.tsx b/hindsight-control-plane/src/components/bank-stats-view.tsx index dbc79ab1..bfca2f49 100644 --- a/hindsight-control-plane/src/components/bank-stats-view.tsx +++ b/hindsight-control-plane/src/components/bank-stats-view.tsx @@ -26,7 +26,7 @@ interface BankStats { failed_operations: number; last_consolidated_at: string | null; pending_consolidation: number; - total_mental_models: number; + total_observations: number; } export function BankStatsView() { @@ -183,7 +183,7 @@ export function BankStatsView() { observationsEnabled ? "text-amber-600 dark:text-amber-400" : "text-muted-foreground" }`} > - {observationsEnabled ? stats.total_mental_models || 0 : "—"} + {observationsEnabled ? stats.total_observations || 0 : "—"}