feat: migrate workflow use_cache field to generate_script (#3154)

Co-authored-by: devsy-bot <no-reply@devsy.ai>
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
devsy-bot[bot]
2025-08-10 09:02:23 -07:00
committed by GitHub
parent 16596e5c61
commit 1a3938a756
13 changed files with 56 additions and 25 deletions

View File

@@ -80,7 +80,7 @@ class Workflow(BaseModel):
status: WorkflowStatus = WorkflowStatus.published
max_screenshot_scrolls: int | None = None
extra_http_headers: dict[str, str] | None = None
use_cache: bool = False
generate_script: bool = False
cache_key: str | None = None
created_at: datetime

View File

@@ -447,5 +447,5 @@ class WorkflowCreateYAMLRequest(BaseModel):
max_screenshot_scrolls: int | None = None
extra_http_headers: dict[str, str] | None = None
status: WorkflowStatus = WorkflowStatus.published
use_cache: bool = False
generate_script: bool = False
cache_key: str | None = None