Debugger Continuity (BE) (#3314)

This commit is contained in:
Jonathan Dobson
2025-08-28 20:05:24 -04:00
committed by GitHub
parent 916ab6c067
commit 1067e9a076
12 changed files with 306 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
import typing as t
import structlog
from fastapi import BackgroundTasks, Request
@@ -69,6 +71,7 @@ async def run_workflow(
request: Request | None = None,
background_tasks: BackgroundTasks | None = None,
block_labels: list[str] | None = None,
block_outputs: dict[str, t.Any] | None = None,
) -> WorkflowRun:
workflow_run = await prepare_workflow(
workflow_id=workflow_id,
@@ -91,6 +94,7 @@ async def run_workflow(
browser_session_id=workflow_request.browser_session_id,
api_key=api_key,
block_labels=block_labels,
block_outputs=block_outputs,
)
return workflow_run