diff --git a/frontend/src/App.css b/frontend/src/App.css
index bdbe21e..431c149 100644
--- a/frontend/src/App.css
+++ b/frontend/src/App.css
@@ -237,6 +237,16 @@ body {
border-top: 1px solid var(--color-border);
}
+/* ---- Stats Bar ---- */
+
+.stats-bar {
+ text-align: center;
+ padding: 4px 0;
+ font-size: 0.75rem;
+ color: var(--color-text-muted);
+ border-top: 1px solid var(--color-border);
+}
+
/* ---- Buttons ---- */
.btn {
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index 0fcb64d..dcb8a6f 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -26,6 +26,7 @@ function App() {
stream,
config,
updateConfig,
+ stats,
startSession,
stopSession,
interrupt,
@@ -106,6 +107,13 @@ function App() {
+ {isConnected && (stats.queryCount > 0 || stats.totalTokens > 0) && (
+
+ {stats.queryCount > 0 && {stats.queryCount} 次请求}
+ {stats.totalTokens > 0 && · {stats.totalTokens} tokens}
+
+ )}
+