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:
1 parent
084b6bb394
commit
bc5c58d239
38 files changed
+540
-23
No files matched your search
@@ -3333,6 +3333,7 @@ async def test_context_compaction_is_structured_persisted_and_summary_free(histo
|
||||
compaction_id="compact-1",
|
||||
phase=phase,
|
||||
notify=notify,
|
||||
reason="manual",
|
||||
),
|
||||
))
|
||||
|
||||
@@ -3341,6 +3342,7 @@ async def test_context_compaction_is_structured_persisted_and_summary_free(histo
|
||||
"chat_id": "chat-compaction",
|
||||
"compaction_id": "compact-1",
|
||||
"phase": phase,
|
||||
"reason": "manual",
|
||||
}
|
||||
assert _sent_ws_payloads(mock_ws) == [expected]
|
||||
[persisted] = history.read("websocket:chat-compaction")
|
||||
|
||||
Reference in new issue
Block a user