feat: make context compaction visible in channels (#5656)

* feat: surface context compaction lifecycle

* fix: complete and simplify context compaction notifications
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-05 20:21:54 +08:00
1 parent 455533169d
commit 5229989f28
52 files changed
+1849 -140

No files matched your search

+11
View File
@@ -1069,6 +1069,13 @@
"error": "連線錯誤"
},
"thread": {
"compaction": {
"cancelled": "上下文壓縮已取消",
"empty": "無需壓縮上下文",
"started": "正在壓縮上下文…",
"failed": "上下文壓縮失敗",
"succeeded": "上下文已壓縮"
},
"loadingConversation": "正在載入話題…",
"empty": {
"greetings": {
@@ -1253,6 +1260,10 @@
"title": "新增話題",
"description": "重置目前話題,並開始新的話題。"
},
"compact": {
"title": "壓縮上下文",
"description": "壓縮目前對話的上下文並繼續對話。"
},
"stop": {
"title": "停止目前任務",
"description": "取消這個對話中正在執行的智能體回合。"