feat(webui): show the full token-usage picture in settings (#6638)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-12 18:13:06 +08:00
1 parent b49218b6a3
commit e6b23c7356
42 files changed
+1116 -342

No files matched your search

+6 -3
View File
@@ -1323,17 +1323,18 @@
"shortTitle": "Token usage",
"viewDetails": "View details",
"cacheHitRate": "Cache hit rate",
"cacheRateHelp": "Cache hit rate excludes input with unknown cache status.",
"dailyTrend": "Daily tokens",
"bySource": "Usage by source",
"modelTrend": "Model trends",
"modelsUnavailable": "No model breakdown available.",
"otherModels": "Other / unattributed",
"otherModels": "Other models",
"unclassified": "Unclassified",
"unavailable": "Usage data is unavailable.",
"noActivity": "No token usage in the last 30 days.",
"last30Days": "Last 30 days",
"cachedInput": "Cached input",
"cacheMiss": "Cache miss",
"cacheWrite": "Cache write",
"cacheUnknown": "Unknown status",
"outputTokens": "Output",
"otherTokens": "Other tokens",
@@ -1347,7 +1348,9 @@
"dream": "Memory",
"system": "Auxiliary calls"
},
"systemHelp": "Includes internal tasks and calls without a recorded source."
"systemHelp": "Includes internal tasks and calls without a recorded source.",
"failedRequests": "{{count}} failed",
"estimatedShare": "{{percent}} of tokens are estimated"
},
"providers": {
"manageProviders": "Manage providers",
+6 -3
View File
@@ -935,18 +935,19 @@
"shortTitle": "Uso de tokens",
"viewDetails": "Ver detalles",
"cacheHitRate": "Tasa de aciertos de caché",
"cacheRateHelp": "La tasa excluye las entradas cuyo estado de caché se desconoce.",
"dailyTrend": "Tokens diarios",
"systemHelp": "Incluye tareas internas y llamadas sin origen registrado.",
"bySource": "Uso por origen",
"modelTrend": "Tendencias por modelo",
"modelsUnavailable": "Sin desglose por modelo.",
"otherModels": "Otros / sin atribuir",
"otherModels": "Otros modelos",
"unclassified": "Sin clasificar",
"unavailable": "Los datos de uso no están disponibles.",
"noActivity": "Sin uso de tokens en los últimos 30 días.",
"last30Days": "Últimos 30 días",
"cachedInput": "Entrada en caché",
"cacheMiss": "Fallo de caché",
"cacheWrite": "Escritura de caché",
"cacheUnknown": "Estado desconocido",
"outputTokens": "Salida",
"otherTokens": "Otros tokens",
@@ -959,7 +960,9 @@
"cron": "Automatizaciones",
"dream": "Consolidación de memoria",
"system": "Llamadas auxiliares"
}
},
"failedRequests": "{{count}} fallidas",
"estimatedShare": "El {{percent}} de los tokens es estimado"
},
"providers": {
"manageProviders": "Gestionar proveedores",
+6 -3
View File
@@ -935,18 +935,19 @@
"shortTitle": "Utilisation des tokens",
"viewDetails": "Voir les détails",
"cacheHitRate": "Taux de réussite du cache",
"cacheRateHelp": "Le taux exclut les entrées dont l’état du cache est inconnu.",
"dailyTrend": "Tokens quotidiens",
"systemHelp": "Inclut les tâches internes et les appels sans source enregistrée.",
"bySource": "Utilisation par source",
"modelTrend": "Tendances des modèles",
"modelsUnavailable": "Aucune ventilation par modèle disponible.",
"otherModels": "Autres / non attribués",
"otherModels": "Autres modèles",
"unclassified": "Non classé",
"unavailable": "Les données d’utilisation sont indisponibles.",
"noActivity": "Aucun token utilisé au cours des 30 derniers jours.",
"last30Days": "30 derniers jours",
"cachedInput": "Entrée en cache",
"cacheMiss": "Cache manqué",
"cacheWrite": "Écriture de cache",
"cacheUnknown": "État inconnu",
"outputTokens": "Sortie",
"otherTokens": "Autres tokens",
@@ -959,7 +960,9 @@
"cron": "Automatisations",
"dream": "Consolidation de la mémoire",
"system": "Appels auxiliaires"
}
},
"failedRequests": "{{count}} échecs",
"estimatedShare": "{{percent}} des tokens sont estimés"
},
"providers": {
"manageProviders": "Gérer les fournisseurs",
+6 -3
View File
@@ -935,18 +935,19 @@
"shortTitle": "Penggunaan token",
"viewDetails": "Lihat detail",
"cacheHitRate": "Rasio cache hit",
"cacheRateHelp": "Rasio tidak mencakup input dengan status cache yang tidak diketahui.",
"dailyTrend": "Token harian",
"systemHelp": "Termasuk tugas internal dan panggilan tanpa sumber tercatat.",
"bySource": "Penggunaan berdasarkan sumber",
"modelTrend": "Tren model",
"modelsUnavailable": "Rincian per model tidak tersedia.",
"otherModels": "Lainnya / belum dikategorikan",
"otherModels": "Model lain",
"unclassified": "Tidak dikategorikan",
"unavailable": "Data penggunaan tidak tersedia.",
"noActivity": "Tidak ada penggunaan token dalam 30 hari terakhir.",
"last30Days": "30 hari terakhir",
"cachedInput": "Input tersedia di cache",
"cacheMiss": "Cache tidak ditemukan",
"cacheWrite": "Penulisan cache",
"cacheUnknown": "Status tidak diketahui",
"outputTokens": "Output",
"otherTokens": "Token lainnya",
@@ -959,7 +960,9 @@
"cron": "Otomasi",
"dream": "Penataan memori",
"system": "Panggilan pendukung"
}
},
"failedRequests": "{{count}} gagal",
"estimatedShare": "{{percent}} token diperkirakan"
},
"providers": {
"manageProviders": "Kelola penyedia",
+6 -3
View File
@@ -935,18 +935,19 @@
"shortTitle": "トークン使用量",
"viewDetails": "詳細を見る",
"cacheHitRate": "キャッシュヒット率",
"cacheRateHelp": "キャッシュ状態が不明な入力はヒット率の計算から除外します。",
"dailyTrend": "毎日の Token",
"systemHelp": "内部タスクと記録された送信元がない呼び出しを含みます。",
"bySource": "利用元別の使用量",
"modelTrend": "モデルの推移",
"modelsUnavailable": "モデル別の内訳はありません。",
"otherModels": "その他 / 未分類",
"otherModels": "その他のモデル",
"unclassified": "未分類",
"unavailable": "使用量データを取得できません。",
"noActivity": "過去30日間のトークン使用はありません。",
"last30Days": "過去 30 日間",
"cachedInput": "キャッシュヒット",
"cacheMiss": "キャッシュ未使用",
"cacheWrite": "キャッシュ書き込み",
"cacheUnknown": "状態不明",
"outputTokens": "出力",
"otherTokens": "その他のトークン",
@@ -959,7 +960,9 @@
"cron": "自動タスク",
"dream": "メモリ整理",
"system": "補助処理"
}
},
"failedRequests": "失敗 {{count}} 件",
"estimatedShare": "トークンの {{percent}} は推定値"
},
"providers": {
"manageProviders": "プロバイダーを管理",
+6 -3
View File
@@ -935,18 +935,19 @@
"shortTitle": "토큰 사용량",
"viewDetails": "자세히 보기",
"cacheHitRate": "캐시 적중률",
"cacheRateHelp": "캐시 상태가 알려진 입력만 적중률 계산에 포함됩니다.",
"dailyTrend": "일일 Token",
"systemHelp": "내부 작업과 출처가 기록되지 않은 호출을 포함합니다.",
"bySource": "출처별 사용량",
"modelTrend": "모델 추이",
"modelsUnavailable": "모델별 내역이 없습니다.",
"otherModels": "기타 / 미분류",
"otherModels": "기타 모델",
"unclassified": "미분류",
"unavailable": "사용량 데이터를 사용할 수 없습니다.",
"noActivity": "최근 30일 동안 토큰 사용량이 없습니다.",
"last30Days": "최근 30일",
"cachedInput": "캐시 적중",
"cacheMiss": "캐시 미스",
"cacheWrite": "캐시 쓰기",
"cacheUnknown": "상태 알 수 없음",
"outputTokens": "출력",
"otherTokens": "기타 토큰",
@@ -959,7 +960,9 @@
"cron": "자동화",
"dream": "기억 정리",
"system": "보조 호출"
}
},
"failedRequests": "실패 {{count}}회",
"estimatedShare": "토큰의 {{percent}}가 추정치"
},
"providers": {
"manageProviders": "제공업체 관리",
+6 -3
View File
@@ -1143,18 +1143,19 @@
"shortTitle": "Uso de tokens",
"viewDetails": "Ver detalhes",
"cacheHitRate": "Taxa de acertos de cache",
"cacheRateHelp": "A taxa exclui entradas com estado de cache desconhecido.",
"dailyTrend": "Tokens diários",
"systemHelp": "Inclui tarefas internas e chamadas sem origem registrada.",
"bySource": "Uso por origem",
"modelTrend": "Tendências dos modelos",
"modelsUnavailable": "Sem detalhamento por modelo.",
"otherModels": "Outros / não atribuídos",
"otherModels": "Outros modelos",
"unclassified": "Não classificado",
"unavailable": "Os dados de uso estão indisponíveis.",
"noActivity": "Nenhum token usado nos últimos 30 dias.",
"last30Days": "Últimos 30 dias",
"cachedInput": "Entrada em cache",
"cacheMiss": "Falha de cache",
"cacheWrite": "Gravação de cache",
"cacheUnknown": "Status desconhecido",
"outputTokens": "Saída",
"otherTokens": "Outros tokens",
@@ -1167,7 +1168,9 @@
"cron": "Automações",
"dream": "Consolidação de memória",
"system": "Chamadas auxiliares"
}
},
"failedRequests": "{{count}} falhas",
"estimatedShare": "{{percent}} dos tokens são estimados"
},
"providers": {
"manageProviders": "Gerenciar provedores",
+6 -3
View File
@@ -935,18 +935,19 @@
"shortTitle": "Mức dùng token",
"viewDetails": "Xem chi tiết",
"cacheHitRate": "Tỷ lệ trúng bộ nhớ đệm",
"cacheRateHelp": "Tỷ lệ không tính đầu vào có trạng thái bộ nhớ đệm không rõ.",
"dailyTrend": "Token mỗi ngày",
"systemHelp": "Gồm tác vụ nội bộ và lệnh gọi chưa ghi nguồn.",
"bySource": "Mức dùng theo nguồn",
"modelTrend": "Xu hướng mô hình",
"modelsUnavailable": "Chưa có chi tiết theo mô hình.",
"otherModels": "Khác / chưa phân loại",
"otherModels": "Mô hình khác",
"unclassified": "Chưa phân loại",
"unavailable": "Không có dữ liệu sử dụng.",
"noActivity": "Không có token nào được sử dụng trong 30 ngày qua.",
"last30Days": "30 ngày qua",
"cachedInput": "Đầu vào có trong bộ nhớ đệm",
"cacheMiss": "Không khớp cache",
"cacheWrite": "Ghi bộ nhớ đệm",
"cacheUnknown": "Trạng thái chưa rõ",
"outputTokens": "Đầu ra",
"otherTokens": "Token khác",
@@ -959,7 +960,9 @@
"cron": "Tự động hóa",
"dream": "Sắp xếp bộ nhớ",
"system": "Lượt gọi phụ trợ"
}
},
"failedRequests": "{{count}} lần lỗi",
"estimatedShare": "{{percent}} token là ước tính"
},
"providers": {
"manageProviders": "Quản lý nhà cung cấp",
+6 -3
View File
@@ -1323,17 +1323,18 @@
"shortTitle": "Token 用量",
"viewDetails": "查看详情",
"cacheHitRate": "缓存命中率",
"cacheRateHelp": "缓存命中率仅统计缓存状态已知的输入。",
"dailyTrend": "每日 Token",
"bySource": "用量来源",
"modelTrend": "模型趋势",
"modelsUnavailable": "暂无模型用量明细。",
"otherModels": "其他模型 / 未分类",
"otherModels": "其他模型",
"unclassified": "未分类",
"unavailable": "暂时无法获取用量数据。",
"noActivity": "近 30 天暂无 Token 用量。",
"last30Days": "近 30 天",
"cachedInput": "缓存命中",
"cacheMiss": "未命中",
"cacheWrite": "缓存写入",
"cacheUnknown": "状态未知",
"outputTokens": "输出",
"otherTokens": "其他 Token",
@@ -1347,7 +1348,9 @@
"dream": "记忆整理",
"system": "辅助调用"
},
"systemHelp": "包括内部任务和未标注来源的调用"
"systemHelp": "包括内部任务和未标注来源的调用",
"failedRequests": "{{count}} 次失败",
"estimatedShare": "{{percent}} 的 Token 为本地估算"
},
"providers": {
"manageProviders": "管理提供商",
+6 -3
View File
@@ -935,18 +935,19 @@
"shortTitle": "Token 用量",
"viewDetails": "查看詳情",
"cacheHitRate": "快取命中率",
"cacheRateHelp": "快取命中率僅統計快取狀態已知的輸入。",
"dailyTrend": "每日 Token",
"systemHelp": "包括內部任務和未標註來源的呼叫",
"bySource": "用量來源",
"modelTrend": "模型趨勢",
"modelsUnavailable": "暫無模型用量明細。",
"otherModels": "其他模型 / 未歸類",
"otherModels": "其他模型",
"unclassified": "未分類",
"unavailable": "暫時無法取得用量資料。",
"noActivity": "近 30 天暫無 Token 用量。",
"last30Days": "近 30 天",
"cachedInput": "快取命中",
"cacheMiss": "未命中",
"cacheWrite": "快取寫入",
"cacheUnknown": "狀態未知",
"outputTokens": "輸出",
"otherTokens": "其他 Token",
@@ -959,7 +960,9 @@
"cron": "自動任務",
"dream": "記憶整理",
"system": "輔助呼叫"
}
},
"failedRequests": "{{count}} 次失敗",
"estimatedShare": "{{percent}} 的 Token 為本地估算"
},
"providers": {
"manageProviders": "管理提供商",