Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
workflow run should also run permission checker with browser_session_id (#1984)
Shuchang Zheng185464f8ec50
diff --git a/skyvern/forge/sdk/routes/agent_protocol.py b/skyvern/forge/sdk/routes/agent_protocol.pyindex 3f8c63073..15a263d3a 100644--- a/skyvern/forge/sdk/routes/agent_protocol.py+++ b/skyvern/forge/sdk/routes/agent_protocol.py@@ -574,7 +574,10 @@ async def run_workflow(analytics.capture("skyvern-oss-agent-workflow-execute")context = skyvern_context.ensure_context()request_id = context.request_id- await PermissionCheckerFactory.get_instance().check(current_org)+ await PermissionCheckerFactory.get_instance().check(+ current_org,+ browser_session_id=workflow_request.browser_session_id,+ )if template:if workflow_id not in await app.STORAGE.retrieve_global_workflows():