Start fixing forecast service API 5

This commit is contained in:
Urtzi Alfaro
2025-07-29 17:24:56 +02:00
parent c8e0e1299e
commit fd5d701221
6 changed files with 17 additions and 16 deletions

View File

@@ -249,7 +249,7 @@ class ForecastingService:
"""Get the latest trained model for a tenant/product combination"""
try:
model_data = await self.data_client.get_best_model_for_forecasting(tenant_id, product_name)
model_data = await self.model_client.get_best_model_for_forecasting(tenant_id, product_name)
return model_data
except Exception as e: