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": "Message status"
},
"compaction": {
"reasons": {
"idle": {
"started": "Automatically compacting context after inactivity",
"succeeded": "Context automatically compacted after inactivity",
"failed": "Automatic context compaction failed after inactivity",
"cancelled": "Automatic compaction after inactivity did not finish"
},
"context_pressure": {
"started": "Compacting a long context",
"succeeded": "Long context compacted",
"failed": "Failed to compact a long context",
"cancelled": "Compaction of a long context cancelled"
},
"manual": {
"started": "Manual compaction in progress",
"succeeded": "Manual compaction complete",
"failed": "Manual compaction failed",
"cancelled": "Manual compaction cancelled"
},
"provider_native": {
"started": "Compacting context on the provider's server",
"succeeded": "Context compacted on the provider's server",
"failed": "Failed to compact context on the provider's server",
"cancelled": "Context compaction cancelled on the provider's server"
}
},
"cancelled": "Context compaction cancelled",
"empty": "Nothing to compact.",
"started": "Compressing context",