From 68f3af7fb0dc444adf460ce7bf49c269e36418a0 Mon Sep 17 00:00:00 2001 From: Priyanka Punukollu Date: Sat, 28 Feb 2026 10:04:30 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20restore=20metadata=20panel=20below=20mes?= =?UTF-8?q?sages=20=E2=80=94=20tools=5Fcalled,=20confidence,=20latency,=20?= =?UTF-8?q?citations=20visible=20on=20every=20assistant=20response?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made-with: Cursor --- agent/chat_ui.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/agent/chat_ui.html b/agent/chat_ui.html index 850a002e8..e1cfbd4b2 100644 --- a/agent/chat_ui.html +++ b/agent/chat_ui.html @@ -6101,14 +6101,15 @@ ? 'flag' : 'fail'; details.innerHTML = ` - 🔍 debug + 🔍 Metadata
tools_called${toolList}
verification${meta.verification_outcome || '—'}
confidence${confPct}
-
latency${meta.latency_seconds != null ? meta.latency_seconds + 's' : '—'}
+
latency${meta.latency_seconds != null ? meta.latency_seconds + 's' : (meta.latency_ms != null ? meta.latency_ms + 'ms' : '—')}
citations${(meta.citations || []).join(', ') || 'none'}
`; + details.open = true; // Expanded by default so metadata is visible footer.appendChild(details); wrapEl.appendChild(footer);