Async Workflow #82
@@ -1537,7 +1537,8 @@ async def execute_unified_prompt_stream(
|
||||
)
|
||||
|
||||
# Save to ai_insights if requested (same logic as /execute)
|
||||
if result['type'] == 'pipeline':
|
||||
if save:
|
||||
if result['type'] == 'pipeline':
|
||||
final_output = result.get('output', {})
|
||||
if isinstance(final_output, dict) and len(final_output) == 1:
|
||||
content = list(final_output.values())[0]
|
||||
|
||||
Reference in new issue
Block a user