Add AI insights feature

This commit is contained in:
Urtzi Alfaro
2025-12-15 21:14:22 +01:00
parent 5642b5a0c0
commit c566967bea
39 changed files with 17729 additions and 404 deletions

View File

@@ -137,6 +137,9 @@ class ForecastingService(StandardFastAPIService):
else:
self.logger.error("Event publisher not initialized, alert service unavailable")
# Store the event publisher in app state for internal API access
app.state.event_publisher = self.event_publisher
async def on_shutdown(self, app: FastAPI):
"""Custom shutdown logic for forecasting service"""