record max_steps_per_run override in tasks table as well (#622)

This commit is contained in:
Shuchang Zheng
2024-07-18 17:00:00 -07:00
committed by GitHub
parent 9c0c4cbedf
commit 267335a0eb
3 changed files with 19 additions and 0 deletions

View File

@@ -221,6 +221,7 @@ class Task(TaskRequest):
screenshot_url=screenshot_url,
recording_url=recording_url,
errors=self.errors,
max_steps_per_run=self.max_steps_per_run,
)
@@ -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):