mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-15 01:39:41 +00:00
current viewpoint screenshot and scrolling n screenshot (#2716)
Co-authored-by: lawyzheng <lawyzheng1106@gmail.com>
This commit is contained in:
parent
11288817af
commit
775da18878
39 changed files with 452 additions and 35 deletions
|
@ -22,6 +22,7 @@ class WorkflowRequestBody(BaseModel):
|
|||
totp_verification_url: str | None = None
|
||||
totp_identifier: str | None = None
|
||||
browser_session_id: str | None = None
|
||||
max_screenshot_scrolling_times: int | None = None
|
||||
|
||||
@field_validator("webhook_callback_url", "totp_verification_url")
|
||||
@classmethod
|
||||
|
@ -76,6 +77,7 @@ class Workflow(BaseModel):
|
|||
persist_browser_session: bool = False
|
||||
model: dict[str, Any] | None = None
|
||||
status: WorkflowStatus = WorkflowStatus.published
|
||||
max_screenshot_scrolling_times: int | None = None
|
||||
|
||||
created_at: datetime
|
||||
modified_at: datetime
|
||||
|
@ -115,6 +117,7 @@ class WorkflowRun(BaseModel):
|
|||
failure_reason: str | None = None
|
||||
parent_workflow_run_id: str | None = None
|
||||
workflow_title: str | None = None
|
||||
max_screenshot_scrolling_times: int | None = None
|
||||
|
||||
queued_at: datetime | None = None
|
||||
started_at: datetime | None = None
|
||||
|
@ -162,3 +165,4 @@ class WorkflowRunResponseBase(BaseModel):
|
|||
task_v2: TaskV2 | None = None
|
||||
workflow_title: str | None = None
|
||||
browser_session_id: str | None = None
|
||||
max_screenshot_scrolling_times: int | None = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue