feat(sv-card): open AI Usage dashboard via in-Void #/ai-usage route

This commit is contained in:
root
2026-06-08 14:51:18 +10:00
parent ac7983eb52
commit 608dedff8f
2 changed files with 29 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ async function load() {
el('div', { class: 'sv-row' }, el('span', { class: 'k' }, 'runs · err'), mono(`${l.runs} · ${(l.top.error_rate * 100).toFixed(0)}%`)))
: el('span', { class: 'muted' }, 'No local runs yet')
),
el('a', { class: 'aiu-link', href: 'http://192.168.1.212:8080/', target: '_blank', rel: 'noopener' }, 'Full dashboard ↗')
el('a', { class: 'aiu-link', href: '#/ai-usage' }, 'Full dashboard ↗')
);
} catch { mount(body, el('span', { class: 'muted' }, 'No usage data')); }
}