Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
improve max steps failure description (#1296)
LawyZheng6c1b2a6328fd
diff --git a/skyvern/forge/agent.py b/skyvern/forge/agent.pyindex 55f50c96c..3a151986b 100644--- a/skyvern/forge/agent.py+++ b/skyvern/forge/agent.py@@ -1960,8 +1960,9 @@ class ForgeAgent:step=step,page=page,)- if not failure_reason:- failure_reason = f"Max steps per task ({max_steps_per_run}) exceeded"+ failure_reason = (+ f"Reached the maximum steps ({max_steps_per_run}). Possible failure reasons: {failure_reason}"+ )await self.update_task(task,