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": "この会話で使うモデルを切り替える",
"manageModels": "モデルを管理",
"context": {
"tooltip": "コンテキスト · {{tokens}}{{capacity}}",
"meterDescription": "{{context}}。{{percent}}% 使用中"
"tooltip": "コンテキスト {{percent}}%",
"detailsLabel": "コンテキスト使用量を開く",
"panelTitle": "コンテキスト使用量",
"contextTitle": "コンテキスト",
"recentRounds": "最近のラウンド",
"inputTrend": "入力トークン",
"input": "入力トークン",
"cacheHitRate": "KV キャッシュヒット率",
"output": "出力トークン",
"duration": "生成時間"
},
"queued": {
"label": "保留中のガイド",