diff --git a/llmhost/web/index.html b/llmhost/web/index.html index d7140f0..781340e 100644 --- a/llmhost/web/index.html +++ b/llmhost/web/index.html @@ -11,7 +11,7 @@ --accent: #3b6ef5; --accent-weak: #e6edfe; --ok: #1f9d55; --ok-weak: #e3f5ea; --warn: #b7791f; --warn-weak: #fbf1dc; --bad: #d64545; --bad-weak: #fbe5e5; - --c1: #3b6ef5; --c2: #0f9d8a; --c3: #c2620f; --c4: #d13d5e; --c5: #8a5cf0; + --c1: #3b6ef5; --c2: #0f9d8a; --c3: #c2620f; --c4: #d13d5e; --c5: #8a5cf0; --c6: #2f9e44; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color-scheme: light; } @@ -22,7 +22,7 @@ --accent: #6d93ff; --accent-weak: #1c2640; --ok: #3ccf7f; --ok-weak: #143022; --warn: #e3a94a; --warn-weak: #33280f; --bad: #f07272; --bad-weak: #3a1818; - --c1: #6d93ff; --c2: #3fc9b4; --c3: #f0954a; --c4: #f2708c; --c5: #a98bff; + --c1: #6d93ff; --c2: #3fc9b4; --c3: #f0954a; --c4: #f2708c; --c5: #a98bff; --c6: #5fd27a; color-scheme: dark; } } @@ -96,8 +96,7 @@ button.danger { color: var(--bad); } .bar i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .4s; } .charts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; } -.charts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } -@media (max-width: 820px) { .charts, .charts.two { grid-template-columns: minmax(0, 1fr); } } +@media (max-width: 820px) { .charts { grid-template-columns: minmax(0, 1fr); } } .chart .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; } .chart .head span { font-size: 12px; color: var(--muted); } .chart .head b { font-size: 13px; font-variant-numeric: tabular-nums; } @@ -180,8 +179,9 @@ pre {
Prefix cache hits
—
prompt tokens reused
-
+
Generation tok/s
10 min agonow
+
Prompt processing tok/s
10 min agonow
KV cache %
10 min agonow
@@ -338,6 +338,7 @@ function render(s) { const h = s.history || []; chartTimes = h.map((p) => p.t); chart("c-gen", h.map((p) => p.gen), "var(--c1)", null, (v) => fmt.n(v, 0) + " tok/s"); + chart("c-prompt", h.map((p) => p.prompt), "var(--c6)", null, (v) => fmt.n(v, 0) + " tok/s"); chart("c-util", h.map((p) => p.util), "var(--c2)", 100, (v) => fmt.pct(v)); chart("c-kv", h.map((p) => p.kv), "var(--c3)", null, (v) => fmt.n(v, 1) + "%"); // Fixed scales so the shape means something: 0–100 °C, and 0 to the board power limit.