fix: IndentationError in prompts.py SSE endpoint
Some checks failed
Deploy Development / deploy (push) Successful in 52s
Build Test / pytest-backend (push) Failing after 1s
Build Test / lint-backend (push) Successful in 1s
Build Test / build-frontend (push) Successful in 16s

This commit is contained in:
Lars 2026-04-13 11:25:34 +02:00
parent ba474b0a57
commit fbeabcde97

View File

@ -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]