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
@@ -1814,6 +1814,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": "正在壓縮上下文…",