debug: add logging to execute_unified_prompt_stream function
This commit is contained in:
parent
ce5b96f373
commit
a5aad0da7e
|
|
@ -1452,6 +1452,7 @@ async def execute_unified_prompt_stream(
|
||||||
save: bool = Query(False, description="Save result to ai_insights"),
|
save: bool = Query(False, description="Save result to ai_insights"),
|
||||||
session: dict = Depends(require_auth_flexible)
|
session: dict = Depends(require_auth_flexible)
|
||||||
):
|
):
|
||||||
|
print("[EXECUTE_STREAM] Endpoint function called!") # DEBUG
|
||||||
"""
|
"""
|
||||||
Execute a unified prompt with Server-Sent Events (SSE) streaming.
|
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.
|
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']
|
profile_id = session['profile_id']
|
||||||
|
|
||||||
# Use default modules/timeframes (SSE doesn't support complex params)
|
# Use default modules/timeframes (SSE doesn't support complex params)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user