The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed app/src/components/dashboard/UsageLogPanel.tsx,app/src/hooks/useCostDashboard.t
Steven Enamakel73ccf00ac798
diff --git a/app/src/components/dashboard/UsageLogPanel.tsx b/app/src/components/dashboard/UsageLogPanel.tsxindex facab4dc15..41212d135b 100644--- a/app/src/components/dashboard/UsageLogPanel.tsx+++ b/app/src/components/dashboard/UsageLogPanel.tsx@@ -115,7 +115,8 @@ const UsageLogPanel = () => {header: t('settings.costDashboard.cost'),align: 'right',className: 'w-px whitespace-nowrap tabular-nums font-medium text-content',- cell: record => formatCurrency(record.cost_usd, currency),+ cell: record =>+ record.cost_source === 'unknown' ? '—' : formatCurrency(record.cost_usd, currency),},{id: 'source',@@ -124,6 +125,8 @@ const UsageLogPanel = () => {cell: record =>record.cost_source === 'provider_charged' ? (<Badge variant="success">{t('settings.costDashboard.providerCharged')}</Badge>+ ) : record.cost_source === 'unknown' ? (+ '—') : (<Badge>{t('settings.costDashboard.estimated')}</Badge>),diff --git a/app/src/hooks/useCostDashboard.ts b/app/src/hooks/useCostDashboard.tsindex 1ba68a40cd..1015984b74 100644--- a/app/src/hooks/useCostDashboard.ts+++ b/app/src/hooks/useCostDashboard.ts@@ -52,7 +52,11 @@ export interface CostUsageRecord {cache_creation_tokens: number;reasoning_tokens: number;cost_usd: number;- cost_source: 'estimated' | 'provider_charged';+ /**+ * `unknown`: no charge was reported and the model has no catalogued price,+ * so `cost_usd` is `0` and must not be shown as free.+ */+ cost_source: 'estimated' | 'provider_charged' | 'unknown';}export interface CostUsageCategoryStats {