Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
when updating a step to canceled status, we can skip terminal status check when is_last = true (#524)
Shuchang Zhengb7af52d037a1
diff --git a/skyvern/forge/sdk/models.py b/skyvern/forge/sdk/models.pyindex 46c1c8fe3..a0bc39fdd 100644--- a/skyvern/forge/sdk/models.py+++ b/skyvern/forge/sdk/models.py@@ -66,6 +66,9 @@ class Step(BaseModel):if status and not old_status.can_update_to(status):raise ValueError(f"invalid_status_transition({old_status},{status},{self.step_id})")+ if status == StepStatus.canceled:+ return+if status and status.requires_output() and output is None:raise ValueError(f"status_requires_output({status},{self.step_id})")