fix: IndentationError in prompts.py SSE endpoint
This commit is contained in:
parent
ba474b0a57
commit
fbeabcde97
|
|
@ -1537,6 +1537,7 @@ async def execute_unified_prompt_stream(
|
||||||
)
|
)
|
||||||
|
|
||||||
# Save to ai_insights if requested (same logic as /execute)
|
# Save to ai_insights if requested (same logic as /execute)
|
||||||
|
if save:
|
||||||
if result['type'] == 'pipeline':
|
if result['type'] == 'pipeline':
|
||||||
final_output = result.get('output', {})
|
final_output = result.get('output', {})
|
||||||
if isinstance(final_output, dict) and len(final_output) == 1:
|
if isinstance(final_output, dict) and len(final_output) == 1:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user