From 8b261f9ec2d0df4ee663dfb38a52008a75616585 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Thu, 11 Dec 2025 17:12:01 +0000 Subject: [PATCH] fix: Ollama should only show as configured when URL is explicitly set Previously Ollama always showed as 'Available' even if not set up. Now it only shows as configured when user has entered an OllamaBaseURL. --- internal/config/ai.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/ai.go b/internal/config/ai.go index ed66505..588811e 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 }