From f34ee258e8ace930a99cdae75053bdde535072a3 Mon Sep 17 00:00:00 2001 From: thzxx Date: Sat, 27 Jun 2026 23:07:11 +0800 Subject: [PATCH] =?UTF-8?q?style:=20TokenUsage=20+=20AgentMonitor=20?= =?UTF-8?q?=E6=89=80=E6=9C=89=E6=95=B0=E5=80=BC=E5=8A=A0=E7=B2=97=20fontWe?= =?UTF-8?q?ight:600?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/AgentMonitor.tsx | 8 ++++---- src/components/trace/TokenUsage.tsx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/layout/AgentMonitor.tsx b/src/components/layout/AgentMonitor.tsx index e2b3e1a..e7de336 100644 --- a/src/components/layout/AgentMonitor.tsx +++ b/src/components/layout/AgentMonitor.tsx @@ -66,26 +66,26 @@ export function AgentMonitor(): React.JSX.Element { Provider - + {PROVIDER_LABELS[provider] ?? provider} 模型 - + {model} 迭代 - + {currentIteration} / {maxIterations} {totalDuration > 0 && ( 总耗时 - + {formatDuration(totalDuration)} diff --git a/src/components/trace/TokenUsage.tsx b/src/components/trace/TokenUsage.tsx index 840a4b9..f77df88 100644 --- a/src/components/trace/TokenUsage.tsx +++ b/src/components/trace/TokenUsage.tsx @@ -57,7 +57,7 @@ export function TokenUsage(): React.JSX.Element { 上下文 80 ? 'error.main' : usagePercent > 60 ? 'warning.main' : 'text.secondary', }}> {tokenUsage.totalTokens > 0 ? `${usagePercent.toFixed(1)}%` : '-'} @@ -65,7 +65,7 @@ export function TokenUsage(): React.JSX.Element { 迭代 - + {currentIteration} / {maxIterations}