Skip to content

Commit

Permalink
expose max_steps_per_run in the task endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng committed Jul 18, 2024
1 parent 941c9b8 commit 5b5454c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skyvern/forge/sdk/schemas/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def to_task_response(
screenshot_url=screenshot_url,
recording_url=recording_url,
errors=self.errors,
max_steps_per_run=self.max_steps_per_run,
)


Expand All @@ -236,6 +237,7 @@ class TaskResponse(BaseModel):
recording_url: str | None = None
failure_reason: str | None = None
errors: list[dict[str, Any]] = []
max_steps_per_run: int | None = None


class TaskOutput(BaseModel):
Expand Down

0 comments on commit 5b5454c

Please sign in to comment.