don't display metric totals in the tray hover menu to help conserve space

This commit is contained in:
Egor 2025-10-23 11:21:34 -07:00
parent 6171011d95
commit 7783b7833d
4 changed files with 11 additions and 11 deletions

View file

@ -193,7 +193,7 @@ You can use the CLI mode on Windows in exactly the same way as in the Linux/macO
- Gerbil: installed from [AUR](https://aur.archlinux.org/packages/gerbil) via [yay](https://github.com/Jguer/yay)
- KoboldCPP: nocuda build, vulkan backend
- Hardware: RX 7900 GRE (16GB VRAM, undervolted, overclocked), Ryzen 7 7800X3D, ASUS B650-E, 32GB RAM (EXPO 1: 6000Mhz)
- LLM: [Q4 Gemma 3 27b abliterated](https://huggingface.co/mlabonne/gemma-3-27b-it-abliterated-GGUF?show_file_info=gemma-3-27b-it-abliterated.q4_k_m.gguf) with [Dolphin system message](https://github.com/QuixiAI/dolphin-system-messages)
- LLM: [Q4 Gemma 3 27b abliterated](https://huggingface.co/mlabonne/gemma-3-27b-it-abliterated-GGUF?show_file_info=gemma-3-27b-it-abliterated.q4_k_m.gguf)+ [Open WebUI](https://openwebui.com/) + [Dolphin system message](https://github.com/QuixiAI/dolphin-system-messages)
## Known Issues

View file

@ -62,7 +62,7 @@
"prettier": "^3.6.2",
"rollup-plugin-visualizer": "^6.0.5",
"typescript": "^5.9.3",
"vite": "^7.1.11"
"vite": "^7.1.12"
},
"dependencies": {
"@codemirror/search": "^6.5.11",

View file

@ -89,22 +89,22 @@ function buildTooltipText() {
) {
const metrics: string[] = [];
const cpuText = `CPU: ${currentMetrics.cpu.usage}%${currentMetrics.cpu.temperature ? `${currentMetrics.cpu.temperature}°C` : ''}`;
const cpuText = `CPU: ${currentMetrics.cpu.usage}%${currentMetrics.cpu.temperature ? `${currentMetrics.cpu.temperature}°C` : ''}`;
metrics.push(cpuText);
const ramText = `RAM: ${currentMetrics.memory.used.toFixed(2)} GB / ${currentMetrics.memory.total.toFixed(2)} GB (${currentMetrics.memory.usage}%)`;
const ramText = `RAM: ${currentMetrics.memory.used.toFixed(2)} GB ${currentMetrics.memory.usage}%`;
metrics.push(ramText);
if (currentMetrics.gpu?.gpus) {
currentMetrics.gpu.gpus.forEach((gpu, index) => {
const gpuLabel =
currentMetrics.gpu!.gpus.length > 1 ? `GPU ${index + 1}` : 'GPU';
const gpuText = `${gpuLabel}: ${gpu.usage}%${gpu.temperature ? `${gpu.temperature}°C` : ''}`;
const gpuText = `${gpuLabel}: ${gpu.usage}%${gpu.temperature ? `${gpu.temperature}°C` : ''}`;
metrics.push(gpuText);
const vramLabel =
currentMetrics.gpu!.gpus.length > 1 ? `VRAM ${index + 1}` : 'VRAM';
const vramText = `${vramLabel}: ${gpu.memoryUsed.toFixed(2)} GB / ${gpu.memoryTotal.toFixed(2)} GB (${gpu.memoryUsage}%)`;
const vramText = `${vramLabel}: ${gpu.memoryUsed.toFixed(2)} GB ${gpu.memoryUsage}%`;
metrics.push(vramText);
});
}

View file

@ -3783,7 +3783,7 @@ __metadata:
rollup-plugin-visualizer: "npm:^6.0.5"
systeminformation: "npm:^5.27.11"
typescript: "npm:^5.9.3"
vite: "npm:^7.1.11"
vite: "npm:^7.1.12"
winston: "npm:^3.18.3"
winston-daily-rotate-file: "npm:^5.0.0"
yauzl: "npm:^3.2.0"
@ -7063,9 +7063,9 @@ __metadata:
languageName: node
linkType: hard
"vite@npm:^7.1.11":
version: 7.1.11
resolution: "vite@npm:7.1.11"
"vite@npm:^7.1.12":
version: 7.1.12
resolution: "vite@npm:7.1.12"
dependencies:
esbuild: "npm:^0.25.0"
fdir: "npm:^6.5.0"
@ -7114,7 +7114,7 @@ __metadata:
optional: true
bin:
vite: bin/vite.js
checksum: 10c0/c4aa7f47b1fb07f734ed6f4f605d73e5acf7ff9754d75b4adbfbdddf0e520413019834620c1f7b4a207bce7e1d20a2636c584db2b1b17f5a3ba2cd23d47e50ab
checksum: 10c0/cef4d4b4a84e663e09b858964af36e916892ac8540068df42a05ced637ceeae5e9ef71c72d54f3cfc1f3c254af16634230e221b6e2327c2a66d794bb49203262
languageName: node
linkType: hard