mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-17 02:39:40 +00:00
Make text prompt executions a step in workflow runs (#1590)
This commit is contained in:
parent
bb834fa137
commit
e4cb0987cb
4 changed files with 25 additions and 1 deletions
|
@ -311,6 +311,13 @@ class StepTerminationError(SkyvernException):
|
|||
super().__init__(f"Step {step_id} cannot be executed and task is failed. Reason: {reason}")
|
||||
|
||||
|
||||
class BlockTerminationError(SkyvernException):
|
||||
def __init__(self, workflow_run_block_id: str, workflow_run_id: str, reason: str) -> None:
|
||||
super().__init__(
|
||||
f"Block {workflow_run_block_id} cannot be executed and workflow run {workflow_run_id} is failed. Reason: {reason}"
|
||||
)
|
||||
|
||||
|
||||
class StepUnableToExecuteError(SkyvernException):
|
||||
def __init__(self, step_id: str, reason: str) -> None:
|
||||
super().__init__(f"Step {step_id} cannot be executed and task execution is stopped. Reason: {reason}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue