// overview.js — Dashboard-Kopf: Hero + kompakte Modell-Liste. import { $, esc } from "../core/ui.js"; let S = null; // letzter Status let J = []; // letzte Job-Liste const RUNNING = new Set(["running", "ready", "loading", "starting"]); function counts() { const models = S?.models || []; return { total: models.length, running: models.filter(m => RUNNING.has(m.state)).length, jobsRun: J.filter(j => j.state === "running" || j.state === "queued").length, jobsErr: J.filter(j => j.state === "failed").length, }; } function mini(label, val, tone = "") { const v = tone ? `${val}` : val; return `
Steuerzentrale für deinen lokalen llama-swap-Stack — Modelle, Downloads, Wartung und Schnelltest an einem Ort.