Skip to content

Automate browser based workflows with AI

Run Workflow API - fix not output in the run_workflow endpoint (#2065)

Shuchang Zhengabb8242a2145
diff --git a/skyvern/forge/sdk/routes/agent_protocol.py b/skyvern/forge/sdk/routes/agent_protocol.py
index 6da345331..e2903c836 100644
--- a/skyvern/forge/sdk/routes/agent_protocol.py
+++ b/skyvern/forge/sdk/routes/agent_protocol.py
@@ -1627,11 +1627,11 @@ async def run_workflow(
run_id=workflow_run.workflow_run_id,
run_type=RunType.workflow_run,
status=str(workflow_run.status),
- output=workflow_run.output,
+ output=None,
failure_reason=workflow_run.failure_reason,
created_at=workflow_run.created_at,
modified_at=workflow_run.modified_at,
run_request=workflow_run_request,
- downloaded_files=workflow_run.downloaded_files,
- recording_url=workflow_run.recording_url,
+ downloaded_files=None,
+ recording_url=None,
)