Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
hotfix via suchintan for some sort of unwanted increase of prompting (#3485)
Jonathan Dobsonc0082006e252
diff --git a/skyvern/forge/agent_functions.py b/skyvern/forge/agent_functions.pyindex 4c78a7b38..b4faace6e 100644--- a/skyvern/forge/agent_functions.py+++ b/skyvern/forge/agent_functions.py@@ -20,7 +20,6 @@ from skyvern.forge.sdk.schemas.organizations import Organizationfrom skyvern.forge.sdk.schemas.tasks import Task, TaskStatusfrom skyvern.forge.sdk.trace import TraceManagerfrom skyvern.forge.sdk.workflow.models.block import BlockTypeVar-from skyvern.services import workflow_script_servicefrom skyvern.webeye.browser_factory import BrowserStatefrom skyvern.webeye.scraper.scraper import ELEMENT_NODE_ATTRIBUTES, CleanupElementTreeFunc, json_to_htmlfrom skyvern.webeye.utils.dom import SkyvernElement@@ -641,10 +640,11 @@ class AgentFunction:root_workflow_run_id=context.root_workflow_run_id,organization_id=context.organization_id,)- await workflow_script_service.generate_or_update_pending_workflow_script(- workflow_run=workflow_run,- workflow=workflow,- )+ # NOTE(jdo): we are commenting this out for now as it is causing issues with workflow runs+ # await workflow_script_service.generate_or_update_pending_workflow_script(+ # workflow_run=workflow_run,+ # workflow=workflow,+ # )async def post_action_execution(self) -> None:asyncio.create_task(self._post_action_execution())