diff --git a/backend/routers/prompts.py b/backend/routers/prompts.py index 5571324..6d999de 100644 --- a/backend/routers/prompts.py +++ b/backend/routers/prompts.py @@ -1452,6 +1452,7 @@ async def execute_unified_prompt_stream( save: bool = Query(False, description="Save result to ai_insights"), session: dict = Depends(require_auth_flexible) ): + print("[EXECUTE_STREAM] Endpoint function called!") # DEBUG """ Execute a unified prompt with Server-Sent Events (SSE) streaming. @@ -1463,6 +1464,7 @@ async def execute_unified_prompt_stream( Use this endpoint for long-running workflows (>30s) to avoid gateway timeouts. """ + print(f"[EXECUTE_STREAM] session={repr(session)}") # DEBUG profile_id = session['profile_id'] # Use default modules/timeframes (SSE doesn't support complex params)