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:
1 parent
8fb7bc34ec
commit
6b82d642fc
35 files changed
+994
-274
No files matched your search
@@ -1199,8 +1199,16 @@
|
||||
"switchModel": "Switch model for this chat",
|
||||
"manageModels": "Manage models",
|
||||
"context": {
|
||||
"tooltip": "Context · {{tokens}}{{capacity}}",
|
||||
"meterDescription": "{{context}}. {{percent}}% used."
|
||||
"tooltip": "Context {{percent}}%",
|
||||
"detailsLabel": "Open context usage",
|
||||
"panelTitle": "Context usage",
|
||||
"contextTitle": "Context",
|
||||
"recentRounds": "Recent rounds",
|
||||
"inputTrend": "Input tokens",
|
||||
"input": "Input tokens",
|
||||
"cacheHitRate": "KV cache hit rate",
|
||||
"output": "Output tokens",
|
||||
"duration": "Generation time"
|
||||
},
|
||||
"queued": {
|
||||
"label": "Queued guidance",
|
||||
|
||||
@@ -1186,8 +1186,16 @@
|
||||
"switchModel": "Cambiar el modelo de este chat",
|
||||
"manageModels": "Gestionar modelos",
|
||||
"context": {
|
||||
"tooltip": "Contexto · {{tokens}}{{capacity}}",
|
||||
"meterDescription": "{{context}}. {{percent}} % usado."
|
||||
"tooltip": "Contexto {{percent}}%",
|
||||
"detailsLabel": "Abrir uso del contexto",
|
||||
"panelTitle": "Uso del contexto",
|
||||
"contextTitle": "Contexto",
|
||||
"recentRounds": "Rondas recientes",
|
||||
"inputTrend": "Tokens de entrada",
|
||||
"input": "Tokens de entrada",
|
||||
"cacheHitRate": "Tasa de aciertos de KV Cache",
|
||||
"output": "Tokens de salida",
|
||||
"duration": "Tiempo de generación"
|
||||
},
|
||||
"queued": {
|
||||
"label": "Guía en cola",
|
||||
|
||||
@@ -1185,8 +1185,16 @@
|
||||
"switchModel": "Changer le modèle de cette conversation",
|
||||
"manageModels": "Gérer les modèles",
|
||||
"context": {
|
||||
"tooltip": "Contexte · {{tokens}}{{capacity}}",
|
||||
"meterDescription": "{{context}}. {{percent}} % utilisé."
|
||||
"tooltip": "Contexte {{percent}} %",
|
||||
"detailsLabel": "Ouvrir l’utilisation du contexte",
|
||||
"panelTitle": "Utilisation du contexte",
|
||||
"contextTitle": "Contexte",
|
||||
"recentRounds": "Tours récents",
|
||||
"inputTrend": "Jetons d’entrée",
|
||||
"input": "Jetons d’entrée",
|
||||
"cacheHitRate": "Taux de succès du cache KV",
|
||||
"output": "Jetons de sortie",
|
||||
"duration": "Temps de génération"
|
||||
},
|
||||
"queued": {
|
||||
"label": "Guidage en attente",
|
||||
|
||||
@@ -1185,8 +1185,16 @@
|
||||
"switchModel": "Ganti model untuk percakapan ini",
|
||||
"manageModels": "Kelola model",
|
||||
"context": {
|
||||
"tooltip": "Konteks · {{tokens}}{{capacity}}",
|
||||
"meterDescription": "{{context}}. {{percent}}% digunakan."
|
||||
"tooltip": "Konteks {{percent}}%",
|
||||
"detailsLabel": "Buka penggunaan konteks",
|
||||
"panelTitle": "Penggunaan konteks",
|
||||
"contextTitle": "Konteks",
|
||||
"recentRounds": "Putaran terbaru",
|
||||
"inputTrend": "Token masukan",
|
||||
"input": "Token masukan",
|
||||
"cacheHitRate": "Rasio hit KV cache",
|
||||
"output": "Token keluaran",
|
||||
"duration": "Waktu pembuatan"
|
||||
},
|
||||
"queued": {
|
||||
"label": "Panduan antrean",
|
||||
|
||||
@@ -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": "保留中のガイド",
|
||||
|
||||
@@ -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": "대기 중인 안내",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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ờ",
|
||||
|
||||
@@ -1198,8 +1198,16 @@
|
||||
"switchModel": "切换本次对话所用模型",
|
||||
"manageModels": "管理模型预设",
|
||||
"context": {
|
||||
"tooltip": "上下文 · {{tokens}}{{capacity}}",
|
||||
"meterDescription": "{{context}}。已使用 {{percent}}%。"
|
||||
"tooltip": "上下文 {{percent}}%",
|
||||
"detailsLabel": "打开上下文用量",
|
||||
"panelTitle": "上下文用量",
|
||||
"contextTitle": "上下文",
|
||||
"recentRounds": "最近轮次",
|
||||
"inputTrend": "输入 Token",
|
||||
"input": "输入 Token",
|
||||
"cacheHitRate": "KV Cache 命中率",
|
||||
"output": "输出 Token",
|
||||
"duration": "生成耗时"
|
||||
},
|
||||
"queued": {
|
||||
"label": "排队中的引导消息",
|
||||
|
||||
@@ -1185,8 +1185,16 @@
|
||||
"switchModel": "切換此對話使用的模型",
|
||||
"manageModels": "管理模型預設",
|
||||
"context": {
|
||||
"tooltip": "上下文 · {{tokens}}{{capacity}}",
|
||||
"meterDescription": "{{context}}。已使用 {{percent}}%。"
|
||||
"tooltip": "上下文 {{percent}}%",
|
||||
"detailsLabel": "開啟上下文用量",
|
||||
"panelTitle": "上下文用量",
|
||||
"contextTitle": "上下文",
|
||||
"recentRounds": "最近輪次",
|
||||
"inputTrend": "輸入 Token",
|
||||
"input": "輸入 Token",
|
||||
"cacheHitRate": "KV Cache 命中率",
|
||||
"output": "輸出 Token",
|
||||
"duration": "生成耗時"
|
||||
},
|
||||
"queued": {
|
||||
"label": "佇列中的引導訊息",
|
||||
|
||||
Reference in new issue
Block a user