Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
add enable_download to extra_http_headers by default when browser address is found (#4932)
Shuchang Zheng2c61873d0d69
diff --git a/skyvern/forge/sdk/db/agent_db.py b/skyvern/forge/sdk/db/agent_db.pyindex aa55e40a7..970abd991 100644--- a/skyvern/forge/sdk/db/agent_db.py+++ b/skyvern/forge/sdk/db/agent_db.py@@ -2909,6 +2909,7 @@ class AgentDB(BaseAlchemyDB):verification_code_polling_started_at: datetime | None = None,browser_profile_id: str | None | object = _UNSET,browser_address: str | None = None,+ extra_http_headers: dict[str, str] | None = None,) -> WorkflowRun:async with self.Session() as session:workflow_run = (@@ -2943,6 +2944,8 @@ class AgentDB(BaseAlchemyDB):workflow_run.browser_session_id = browser_session_idif browser_address:workflow_run.browser_address = browser_address+ if extra_http_headers is not None:+ workflow_run.extra_http_headers = extra_http_headers# 2FA verification code waiting state updatesif waiting_for_verification_code is not None:workflow_run.waiting_for_verification_code = waiting_for_verification_code