REFACTOR external service and improve websocket training

This commit is contained in:
Urtzi Alfaro
2025-10-09 14:11:02 +02:00
parent 7c72f83c51
commit 3c689b4f98
111 changed files with 13289 additions and 2374 deletions

View File

@@ -749,13 +749,11 @@ class ProcurementService:
continue
try:
forecast_response = await self.forecast_client.create_single_forecast(
forecast_response = await self.forecast_client.generate_single_forecast(
tenant_id=str(tenant_id),
inventory_product_id=item_id,
forecast_date=target_date,
location="default",
forecast_days=1,
confidence_level=0.8
include_recommendations=False
)
if forecast_response: