feat(webui): distinguish context compaction reasons (NAN-324) (#6389)

* feat(webui): distinguish context compaction reasons (NAN-324)

* fix(webui): describe idle compaction cancellation as interruption

* docs: omit compaction notice details from configuration guide

* fix(i18n): make compaction notices read naturally

* fix(i18n): keep CJK compaction notices concise

* fix(i18n): describe idle compaction as unfinished
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-22 16:13:25 +08:00
1 parent 084b6bb394
commit bc5c58d239
38 files changed
+540 -23

No files matched your search

+26
View File
@@ -2020,6 +2020,32 @@
"messages": "消息状态"
},
"compaction": {
"reasons": {
"idle": {
"started": "会话空闲,正在自动压缩上下文",
"succeeded": "会话空闲,已自动压缩上下文",
"failed": "空闲时自动压缩上下文失败",
"cancelled": "空闲期间的自动压缩未完成"
},
"context_pressure": {
"started": "上下文较长,正在压缩",
"succeeded": "上下文较长,已自动压缩",
"failed": "上下文较长,自动压缩失败",
"cancelled": "上下文较长,压缩已取消"
},
"manual": {
"started": "正在手动压缩",
"succeeded": "手动压缩完成",
"failed": "手动压缩失败",
"cancelled": "手动压缩已取消"
},
"provider_native": {
"started": "模型服务正在压缩上下文",
"succeeded": "模型服务已压缩上下文",
"failed": "模型服务未能完成上下文压缩",
"cancelled": "模型服务的上下文压缩已取消"
}
},
"cancelled": "上下文压缩已取消",
"empty": "无需压缩上下文",
"started": "正在压缩上下文",