feat: chatbot

This commit is contained in:
OpenSquared
2026-07-15 08:47:16 +02:00
parent da536e2638
commit ce9c0b53a9
11 changed files with 837 additions and 64 deletions

View File

@@ -114,6 +114,14 @@ def startup():
_log.info("[Startup] Instrument models seeded")
except Exception as _e:
_log.warning(f"[Startup] Instrument models seed failed: {_e}")
# Backfill wavelet_engine/extremum/level_threshold defaults onto the Technical
# Desk so the AI Desks toggle UI matches what's actually computed each cycle
try:
from services.database import backfill_wavelet_desk_defaults
backfill_wavelet_desk_defaults()
_log.info("[Startup] Wavelet desk defaults backfilled")
except Exception as _e:
_log.warning(f"[Startup] Wavelet desk defaults backfill failed: {_e}")
# Auto-bootstrap désactivé — utiliser les boutons dans Cycle Actions / Timeline
# Start auto-cycle scheduler if enabled
from services.auto_cycle import start_scheduler