From 1603f1ae666b6a7cbef34464b7929183f64fcb21 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Fri, 20 Mar 2026 11:44:46 +0100 Subject: [PATCH] Update notification service --- AppImage/components/notification-settings.tsx | 4 ++-- AppImage/scripts/notification_events.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/AppImage/components/notification-settings.tsx b/AppImage/components/notification-settings.tsx index 1fe645aa..f940fd72 100644 --- a/AppImage/components/notification-settings.tsx +++ b/AppImage/components/notification-settings.tsx @@ -147,8 +147,8 @@ const AI_PROVIDERS = [ { value: "ollama", label: "Ollama (Local)", - model: "llama3.2", - description: "100% local execution. No costs, total privacy, no internet required.", + model: "", + description: "Uses models available on your Ollama server. 100% local, no costs, total privacy.", keyUrl: "", icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/ollama.webp", iconLight: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/ollama-light.webp" diff --git a/AppImage/scripts/notification_events.py b/AppImage/scripts/notification_events.py index 23a59cbf..94b1b862 100644 --- a/AppImage/scripts/notification_events.py +++ b/AppImage/scripts/notification_events.py @@ -2151,7 +2151,8 @@ class PollingCollector: for fp, ts in cursor.fetchall(): error_key = fp.replace('health_', '', 1) self._last_notified[error_key] = ts - self._known_errors.add(error_key) + # _known_errors is a dict (not a set), store minimal metadata + self._known_errors[error_key] = {'error_key': error_key, 'first_seen': ts} conn.close() except Exception as e: print(f"[PollingCollector] Failed to load last_notified: {e}")