Skip to content

Commit

Permalink
fix step validate error (#523)
Browse files Browse the repository at this point in the history
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
  • Loading branch information
ykeremy and wintonzheng committed Jun 26, 2024
1 parent 47c1a6f commit 6fa95dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skyvern/forge/sdk/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def cant_have_output(self) -> bool:
return self in status_cant_have_output

def is_terminal(self) -> bool:
status_is_terminal = {StepStatus.failed, StepStatus.completed}
status_is_terminal = {StepStatus.failed, StepStatus.completed, StepStatus.canceled}
return self in status_is_terminal


Expand Down

0 comments on commit 6fa95dd

Please sign in to comment.