Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

fix: Ollama should only show as configured when URL is explicitly set

rcourtmand078f5f0f6e8
diff --git a/internal/config/ai.go b/internal/config/ai.go
index ed66505662..588811e369 100644
--- a/internal/config/ai.go
+++ b/internal/config/ai.go
@@ -149,8 +149,8 @@ func (c *AIConfig) HasProvider(provider string) bool {
case AIProviderDeepSeek:
return c.DeepSeekAPIKey != ""
case AIProviderOllama:
- // Ollama is available if URL is set (or default localhost)
- return true // Always available for attempt
+ // Ollama is only "configured" if user has explicitly set a base URL
+ return c.OllamaBaseURL != ""
default:
return false
}