Training job in the background

This commit is contained in:
Urtzi Alfaro
2025-08-01 16:26:36 +02:00
parent e67ce2a594
commit 2f6f13bfef
4 changed files with 169 additions and 25 deletions

View File

@@ -238,10 +238,10 @@ async def get_current_job_status(job_id: str, tenant_id: str) -> Dict[str, Any]:
from app.core.database import get_db_session
from app.models.training import ModelTrainingLog # Assuming you have this model
async with get_db_session() as db:
# async with get_background_db_session() as db:
# Query your training job status
# This is a placeholder - adjust based on your actual database models
pass
# pass
# Placeholder return - replace with actual database query
return {