mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-15 01:39:41 +00:00
Do not run complete verification for extract blocks or tasks without nav goal + disable complete verification for nav blocks in task v2 run (#1973)
This commit is contained in:
parent
d211024adf
commit
32ad324af7
5 changed files with 32 additions and 2 deletions
|
@ -346,6 +346,7 @@ class BaseTaskBlock(Block):
|
|||
totp_verification_url: str | None = None
|
||||
totp_identifier: str | None = None
|
||||
cache_actions: bool = False
|
||||
complete_verification: bool = True
|
||||
|
||||
def get_all_parameters(
|
||||
self,
|
||||
|
@ -601,6 +602,7 @@ class BaseTaskBlock(Block):
|
|||
task_block=self,
|
||||
browser_session_id=browser_session_id,
|
||||
close_browser_on_completion=browser_session_id is None,
|
||||
complete_verification=self.complete_verification,
|
||||
)
|
||||
except Exception as e:
|
||||
# Make sure the task is marked as failed in the database before raising the exception
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue