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
fix(ai): send Ollama URL when using default localhost address
rcourtman75915a561b6d
diff --git a/frontend-modern/src/components/Settings/AISettings.tsx b/frontend-modern/src/components/Settings/AISettings.tsxindex 3765484c03..18130cc77d 100644--- a/frontend-modern/src/components/Settings/AISettings.tsx+++ b/frontend-modern/src/components/Settings/AISettings.tsx@@ -297,8 +297,9 @@ export const AISettings: Component = () => {if (form.deepseekApiKey.trim()) {payload.deepseek_api_key = form.deepseekApiKey.trim();}- // Always include Ollama URL changes- if (form.ollamaBaseUrl !== (settings()?.ollama_base_url || 'http://localhost:11434')) {+ // Always include Ollama URL if it has a value and differs from what's saved+ // Compare against actual saved value (empty string if not set), not a prefilled default+ if (form.ollamaBaseUrl.trim() && form.ollamaBaseUrl.trim() !== (settings()?.ollama_base_url || '')) {payload.ollama_base_url = form.ollamaBaseUrl.trim();}if (form.openaiBaseUrl !== (settings()?.openai_base_url || '')) {@@ -454,7 +455,8 @@ export const AISettings: Component = () => {// Revert on failuresetForm('enabled', !newValue);logger.error('[AISettings] Failed to toggle AI:', error);- notificationStore.error('Failed to update AI setting');+ const message = error instanceof Error ? error.message : 'Failed to update AI setting';+ notificationStore.error(message);}}}disabled={loading() || saving()}