From c4990ab8f0e31a60852490a48f6993fa72759fbf Mon Sep 17 00:00:00 2001 From: inference-bot Date: Mon, 14 Sep 2026 14:28:19 -0600 Subject: [PATCH] Show username, add renewal date, remove top-ups message --- app/main.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/main.py b/app/main.py index 1d9bc97..0a06739 100644 --- a/app/main.py +++ b/app/main.py @@ -333,7 +333,7 @@ PAGE_HTML = """
—
requests
-
Shared across chat and API. Top-ups appear here automatically.
+
Shared across chat and API.
@@ -385,8 +385,11 @@ async function load() { $('fill').style.width = pct + '%'; $('fill').className = 'fill' + (pct > 80 ? ' warn' : ''); - if (d.email) { - $('identity').innerHTML = 'Signed in as ' + escapeHtml(d.email) + ''; + // Renewal date (when the next round of credits lands) + if (d.reset_at) { + const d2 = new Date(d.reset_at); + const opts = { year: 'numeric', month: 'long', day: 'numeric' }; + $('meta').textContent = 'Shared across chat and API · Credits renew ' + d2.toLocaleDateString(undefined, opts) + '.'; } const tokens = d.total_tokens ?? 0;