Add complete action verification (#845)

This commit is contained in:
Kerem Yilmaz
2024-09-17 18:59:40 -07:00
committed by GitHub
parent 20154020dd
commit d19ff2bd69
3 changed files with 115 additions and 1 deletions

View File

@@ -502,3 +502,9 @@ class FailToFindAutocompleteOption(SkyvernException):
super().__init__(
f"Can't find a suitable auto completion for the current value, maybe retry with another reasonable value. current_value={current_value}"
)
class IllegitComplete(SkyvernException):
def __init__(self, data: dict | None = None) -> None:
data_str = f", data={data}" if data else ""
super().__init__(f"Illegit complete{data_str}")