feat: 工具卡片精简、移除token统计、消息时间显示

1. 聊天消息工具卡片只显示工具名+调用内容,不显示执行结果(工作空间工具页签已有完整结果)
2. 移除所有token统计相关代码:顶栏统计、消息内token/耗时显示、历史记录中的token显示
3. 每条消息显示具体时间(年月日 时分秒),formatTime 已含秒数
This commit is contained in:
thzxx
2026-04-23 15:42:15 +08:00
parent 7ed75415a3
commit 684b2f773b
7 changed files with 6 additions and 166 deletions
-30
View File
@@ -374,28 +374,6 @@ html, body {
opacity: 1;
}
.total-tokens {
display: inline-flex;
align-items: center;
gap: 4px;
margin-left: 8px;
padding: 3px 10px;
font-size: 11px;
font-weight: 500;
color: var(--caution);
background: var(--caution-bg);
border: 1px solid rgba(212, 160, 60, 0.15);
border-radius: 20px;
white-space: nowrap;
user-select: none;
}
.token-icon {
width: 14px;
height: 14px;
flex-shrink: 0;
color: var(--caution);
}
/* ═══ 模型选择栏 ═══ */
.model-bar {
@@ -1024,14 +1002,6 @@ html, body {
color: var(--text-tertiary);
}
.msg-stats .stat-tokens {
color: var(--caution);
}
.msg-stats .stat-duration {
color: var(--accent);
}
/* ═══ 输入区域 ═══ */
.input-area {
flex-shrink: 0;