Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Lighten AI intelligence handler test setup
rcourtman79a501e092a6
diff --git a/internal/api/ai_intelligence_handlers_test.go b/internal/api/ai_intelligence_handlers_test.goindex bc80050adf..55e82dfbae 100644--- a/internal/api/ai_intelligence_handlers_test.go+++ b/internal/api/ai_intelligence_handlers_test.go@@ -8,17 +8,17 @@ import ("testing""time"- "github.com/rcourtman/pulse-go-rewrite/internal/config"+ "github.com/rcourtman/pulse-go-rewrite/internal/ai""github.com/rcourtman/pulse-go-rewrite/internal/unifiedresources")// createTestAIHandler creates a test AI handler with minimal setupfunc createTestAIHandler(t *testing.T) *AISettingsHandler {t.Helper()- tmp := t.TempDir()- cfg := &config.Config{DataPath: tmp}- persistence := config.NewConfigPersistence(tmp)- return newTestAISettingsHandler(cfg, persistence, nil)+ return &AISettingsHandler{+ defaultAIService: ai.NewService(nil, nil),+ aiServices: make(map[string]*ai.Service),+ }}// TestHandleGetPatterns tests the patterns endpoint