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
@@ -1083,6 +1083,13 @@
"error": "连接出错"
},
"thread": {
"compaction": {
"cancelled": "上下文压缩已取消",
"empty": "无需压缩上下文",
"started": "正在压缩上下文…",
"failed": "上下文压缩失败",
"succeeded": "上下文已压缩"
},
"loadingConversation": "正在加载话题…",
"empty": {
"greetings": {
@@ -1276,6 +1283,10 @@
"title": "新建话题",
"description": "重置当前话题,并开始一个新的话题。"
},
"compact": {
"title": "压缩上下文",
"description": "压缩当前对话的上下文并继续对话。"
},
"stop": {
"title": "停止当前任务",
"description": "取消这个对话中正在运行的智能体回合。"