default code gen to true for prompt-initiated workflows (#3483)

This commit is contained in:
Jonathan Dobson
2025-09-19 15:15:19 -04:00
committed by GitHub
parent 71119d4df3
commit b104776498
2 changed files with 6 additions and 0 deletions

View File

@@ -567,6 +567,8 @@ async def create_workflow_from_prompt(
extra_http_headers=data.extra_http_headers,
max_iterations=x_max_iterations_override,
max_steps=x_max_steps_override,
generate_script=data.generate_script,
ai_fallback=data.ai_fallback,
)
except Exception as e:
LOG.error("Failed to create workflow from prompt", exc_info=True, organization_id=organization.organization_id)