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
@@ -1199,8 +1199,16 @@
"switchModel": "Alternar o modelo desta conversa",
"manageModels": "Gerenciar modelos",
"context": {
"tooltip": "Contexto · {{tokens}}{{capacity}}",
"meterDescription": "{{context}}. {{percent}}% usado."
"tooltip": "Contexto {{percent}}%",
"detailsLabel": "Abrir uso do contexto",
"panelTitle": "Uso do contexto",
"contextTitle": "Contexto",
"recentRounds": "Rodadas recentes",
"inputTrend": "Tokens de entrada",
"input": "Tokens de entrada",
"cacheHitRate": "Taxa de acertos do cache KV",
"output": "Tokens de saída",
"duration": "Tempo de geração"
},
"queued": {
"label": "Guia em fila",