diff --git a/AppImage/scripts/notification_templates.py b/AppImage/scripts/notification_templates.py index f796d9a4..1dd3cae2 100644 --- a/AppImage/scripts/notification_templates.py +++ b/AppImage/scripts/notification_templates.py @@ -1237,10 +1237,11 @@ AI_LANGUAGES = { } # Token limits for different detail levels +# max_tokens is a LIMIT, not fixed consumption - you only pay for tokens actually generated AI_DETAIL_TOKENS = { - 'brief': 100, # 2-3 lines, essential only - 'standard': 200, # Concise paragraph with context - 'detailed': 700, # Complete technical details (raised: multi-VM backups can be long) + 'brief': 300, # Short messages, 2-3 lines + 'standard': 1000, # Standard messages, sufficient for 15-20 VMs + 'detailed': 2000, # Complete technical reports with all details } # System prompt template - informative, no recommendations @@ -1417,7 +1418,7 @@ EMOJI USAGE β€” place ONE emoji at the START of EVERY non-empty line (title and πŸ’£ OOM kill ▢️ VM or CT started ⏹️ VM or CT stopped - ⏏️ VM or CT shutdown + πŸ”½ VM or CT shutdown πŸ”„ restarted / reboot / proxmox updates πŸ”₯ high CPU / firewall issue πŸ’§ high memory @@ -1431,9 +1432,9 @@ EMOJI USAGE β€” place ONE emoji at the START of EVERY non-empty line (title and BODY LINE emoji β€” pick by what the line is about: 🏷️ VM name / CT name / ID / guest name - βœ… status ok / success / completed + βœ”οΈ status ok / success / completed ❌ status error / failed - πŸ“ size / tamaΓ±o / Grâße + πŸ’½ size / tamaΓ±o / Grâße ⏱️ duration / tiempo / Dauer πŸ—„οΈ storage / almacenamiento / PBS πŸ—ƒοΈ archive path / ruta de archivo @@ -1513,14 +1514,14 @@ EMOJI USAGE β€” place ONE emoji at the START of EVERY non-empty line (title and Backup job finished on storage local-bak. 🏷️ VM web01 (ID: 100) - βœ… Status: ok - πŸ“ Size: 12.3 GiB + βœ”οΈ Status: ok + πŸ’½ Size: 12.3 GiB ⏱️ Duration: 00:04:21 πŸ—„οΈ Storage: vm/100/2026-03-17T22:00:08Z 🏷️ CT db (ID: 101) - βœ… Status: ok - πŸ“ Size: 4.1 GiB + βœ”οΈ Status: ok + πŸ’½ Size: 4.1 GiB ⏱️ Duration: 00:01:10 πŸ—„οΈ Storage: ct/101/2026-03-17T22:04:29Z @@ -1533,14 +1534,14 @@ EMOJI USAGE β€” place ONE emoji at the START of EVERY non-empty line (title and Backup job finished with errors on storage PBS2. 🏷️ VM web01 (ID: 100) - βœ… Status: ok - πŸ“ Size: 12.3 GiB + βœ”οΈ Status: ok + πŸ’½ Size: 12.3 GiB ⏱️ Duration: 00:04:21 πŸ—„οΈ Storage: vm/100/2026-03-17T22:00:08Z 🏷️ VM broken (ID: 102) ❌ Status: error - πŸ“ Size: 0 B + πŸ’½ Size: 0 B ⏱️ Duration: 00:00:37 πŸ“Š Total: 2 backups | ❌ 1 failed | 12.3 GiB | ⏱️ 00:04:58