Add message role counts to memory debug panel

This commit is contained in:
Bohdan Triapitsyn
2026-06-13 16:40:29 +03:00
parent 560e24cbc2
commit 676f0b3898
10 changed files with 70 additions and 6 deletions
@@ -2468,6 +2468,8 @@ export const dict: Record<I18nKey, string> = {
'memoryDebugPanel.section.noVscodeSamples': '暫無 VS Code 橋接取樣。',
'memoryDebugPanel.metric.totalMessages': '訊息總數',
'memoryDebugPanel.metric.cachedSessions': '快取會話',
'memoryDebugPanel.metric.userMessages': '使用者訊息',
'memoryDebugPanel.metric.assistantMessages': '助理訊息',
'memoryDebugPanel.metric.viewportWindow': '視口視窗',
'memoryDebugPanel.metric.zombieTimeout': '殭屍逾時',
'memoryDebugPanel.metric.githubTotalRequests': 'GitHub 請求總數',
@@ -2485,6 +2487,7 @@ export const dict: Record<I18nKey, string> = {
'memoryDebugPanel.metric.messagesValue': '{count} 條訊息',
'memoryDebugPanel.metric.minutesValue': '{count} 分鐘',
'memoryDebugPanel.metric.msgsValue': '{count} 條',
'memoryDebugPanel.metric.roleMsgsValue': '使用者 {user} / 助理 {assistant}',
'memoryDebugPanel.metric.countValue': '次數 {value}',
'memoryDebugPanel.metric.avgValue': '平均 {value}',
'memoryDebugPanel.metric.maxValue': '最大 {value}',