mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-04-29 04:00:13 +00:00
fix workflow_runs.code_gen to enforce code generate only for task v2 block run (#3597)
This commit is contained in:
parent
a7025fc9b7
commit
7e5c4b3a03
14 changed files with 53 additions and 37 deletions
|
|
@ -48,7 +48,6 @@ class AsyncExecutor(abc.ABC):
|
|||
browser_session_id: str | None,
|
||||
block_labels: list[str] | None,
|
||||
block_outputs: dict[str, Any] | None,
|
||||
code_gen: bool | None = None,
|
||||
**kwargs: dict,
|
||||
) -> None:
|
||||
pass
|
||||
|
|
@ -154,7 +153,6 @@ class BackgroundTaskExecutor(AsyncExecutor):
|
|||
browser_session_id: str | None,
|
||||
block_labels: list[str] | None,
|
||||
block_outputs: dict[str, Any] | None,
|
||||
code_gen: bool | None = None,
|
||||
**kwargs: dict,
|
||||
) -> None:
|
||||
if background_tasks:
|
||||
|
|
@ -175,7 +173,6 @@ class BackgroundTaskExecutor(AsyncExecutor):
|
|||
browser_session_id=browser_session_id,
|
||||
block_labels=block_labels,
|
||||
block_outputs=block_outputs,
|
||||
code_gen=code_gen,
|
||||
)
|
||||
else:
|
||||
LOG.warning("Background tasks not enabled, skipping workflow execution")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue