Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
SkyvernContext shouldn't be a blocker for running agent (#295)
Shuchang Zheng25a7a3ad8e28
diff --git a/skyvern/forge/agent.py b/skyvern/forge/agent.pyindex 6821f2884..f16425bb9 100644--- a/skyvern/forge/agent.py+++ b/skyvern/forge/agent.py@@ -1112,8 +1112,8 @@ class ForgeAgent:await self.update_task(task, status=TaskStatus.terminated, failure_reason=failure_reason)return False, last_step, None# If the max steps are exceeded, mark the current step as the last step and conclude the task- context = skyvern_context.ensure_context()- override_max_steps_per_run = context.max_steps_override+ context = skyvern_context.current()+ override_max_steps_per_run = context.max_steps_override if context else Nonemax_steps_per_run = (override_max_steps_per_runor organization.max_steps_per_run