Update notification_manager.py

This commit is contained in:
MacRimi
2026-03-30 19:16:31 +02:00
parent 30e32e89b2
commit 261b2bfb3c

View File

@@ -385,7 +385,7 @@ class BurstAggregator:
return etype
# ─── Notification Manager ────────────────────────────────────────
# ─── Notification Manager ───────────────────<EFBFBD><EFBFBD>─────────────────────
class NotificationManager:
"""Central notification orchestrator.
@@ -750,10 +750,10 @@ class NotificationManager:
'ai_custom_prompt': self._config.get('ai_custom_prompt', ''),
}
# Get journal context if available (will be enriched per-channel based on detail_level)
raw_journal_context = data.get('_journal_context', '')
for ch_name, channel in channels.items():
# Get journal context if available (will be enriched per-channel based on detail_level)
raw_journal_context = data.get('_journal_context', '')
for ch_name, channel in channels.items():
# ── Per-channel category check ──
# Default: category enabled (true) unless explicitly disabled.
ch_group_key = f'{ch_name}.events.{event_group}'