do not publish workflow when running task v2 (#3588)

This commit is contained in:
Shuchang Zheng
2025-10-01 18:46:23 -07:00
committed by GitHub
parent f43467c2fd
commit 696fcc56a0
2 changed files with 3 additions and 0 deletions

View File

@@ -567,6 +567,7 @@ 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,
status=WorkflowStatus.published if data.publish_workflow else WorkflowStatus.auto_generated,
run_with=data.run_with,
ai_fallback=data.ai_fallback,
)