feat(webui): visualize context usage by logical round (#5649)

* feat(webui): visualize per-request context reuse

* refactor(webui): report usage by logical round

* fix(webui): align context chart with logical rounds

* refactor(webui): derive turn usage from logical rounds

* fix(webui): polish context usage details
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-04 15:13:17 +08:00
1 parent 8fb7bc34ec
commit 6b82d642fc
35 files changed
+994 -274

No files matched your search

+10 -2
View File
@@ -1185,8 +1185,16 @@
"switchModel": "Chuyển mô hình cho cuộc trò chuyện này",
"manageModels": "Quản lý mô hình",
"context": {
"tooltip": "Ngữ cảnh · {{tokens}}{{capacity}}",
"meterDescription": "{{context}}. Đã dùng {{percent}}%."
"tooltip": "Ngữ cảnh {{percent}}%",
"detailsLabel": "Mở mức sử dụng ngữ cảnh",
"panelTitle": "Mức sử dụng ngữ cảnh",
"contextTitle": "Ngữ cảnh",
"recentRounds": "Các lượt gần đây",
"inputTrend": "Token đầu vào",
"input": "Token đầu vào",
"cacheHitRate": "Tỷ lệ hit KV cache",
"output": "Token đầu ra",
"duration": "Thời gian tạo"
},
"queued": {
"label": "Hướng dẫn đang chờ",