更新压缩机制,提高前缀缓存命中率,优化UI渲染机制,提高帧数

This commit is contained in:
minorQAQ committed 2026-08-25 10:13:50 +08:00
1 parent 6131c2563e
commit 0ce72f74f1
175 files changed
+7621 -2611

No files matched your search

+13 -7
View File
@@ -35,14 +35,15 @@
transform: rotate(90deg);
}
.tc-list-toggle-body {
display: flex;
display: none;
flex-direction: column;
gap: 0.15rem;
margin-top: 0.15rem;
max-height: 0;
max-height: none;
overflow: hidden;
}
.tool-call-list-wrap--expanded .tc-list-toggle-body {
display: flex;
overflow-y: auto;
max-height: 75vh;
}
@@ -174,17 +175,20 @@
opacity: 0.8;
}
/* 展开详情区(行下方) */
/* 展开详情区(行下方)。折叠态用 display:none 而非 max-height:0:
max-height:0 仍会对巨型 result_text 全量排版(大会话渲染/滚动的主要开销),
display:none 完全跳过布局,仅在展开瞬间排版一次。 */
.tc-detail {
margin: 0.15rem 0 0.3rem 1.4rem;
padding: 0 0.45rem;
display: flex;
display: none;
flex-direction: column;
gap: 0.3rem;
max-height: 0;
max-height: none;
overflow: hidden;
}
.tool-call-row--expanded + .tc-detail {
display: flex;
max-height: 45vh;
overflow-y: auto;
padding: 0.3rem 0.45rem;
@@ -306,10 +310,11 @@
color: var(--text, #475569);
white-space: pre-wrap;
word-break: break-word;
max-height: 0;
display: none;
overflow: hidden;
}
.sub-reply-row--expanded .sub-reply-row-detail {
display: block;
max-height: 400px;
overflow-y: auto;
}
@@ -434,10 +439,11 @@
color: var(--muted, #64748b);
white-space: pre-wrap;
word-break: break-word;
max-height: 0;
display: none;
overflow: hidden;
}
.think-row--expanded .think-row-detail {
display: block;
max-height: 300px;
padding: 0.35rem 0.5rem;
overflow-y: auto;