create task, task v2 and workflow run with browser_session_id (#2872)

This commit is contained in:
Shuchang Zheng
2025-07-03 18:45:04 -07:00
committed by GitHub
parent 70661ae5a0
commit 9d6e30f1de
6 changed files with 10 additions and 0 deletions

View File

@@ -111,6 +111,7 @@ class WorkflowRun(BaseModel):
workflow_id: str
workflow_permanent_id: str
organization_id: str
browser_session_id: str | None = None
status: WorkflowRunStatus
extra_http_headers: dict[str, str] | None = None
proxy_location: ProxyLocation | None = None

View File

@@ -783,6 +783,7 @@ class WorkflowService:
workflow_permanent_id=workflow_permanent_id,
workflow_id=workflow_id,
organization_id=organization_id,
browser_session_id=workflow_request.browser_session_id,
proxy_location=workflow_request.proxy_location,
webhook_callback_url=workflow_request.webhook_callback_url,
totp_verification_url=workflow_request.totp_verification_url,