initialize enhanced training system
This commit is contained in:
@ -1618,6 +1618,15 @@ class CleanTradingDashboard:
|
||||
# Create panel instance with orchestrator
|
||||
panel = ModelsTrainingPanel(orchestrator=self.orchestrator)
|
||||
|
||||
# Ensure enhanced training system is initialized and running
|
||||
try:
|
||||
if self.orchestrator and hasattr(self.orchestrator, 'initialize_enhanced_training_system'):
|
||||
self.orchestrator.initialize_enhanced_training_system()
|
||||
if self.orchestrator and hasattr(self.orchestrator, 'start_enhanced_training'):
|
||||
self.orchestrator.start_enhanced_training()
|
||||
except Exception as _ets_ex:
|
||||
logger.warning(f"TRAINING: Failed to start orchestrator enhanced training system: {_ets_ex}")
|
||||
|
||||
# Prefer create_panel if available; fallback to render
|
||||
if hasattr(panel, 'create_panel'):
|
||||
panel_content = panel.create_panel()
|
||||
|
Reference in New Issue
Block a user