RunRequest: bump timeout_secs ceiling 600s → 1800s
Long-form prose-craft at --effort max can run 10–20 min wall clock. The old 600s cap stranded any max-effort gen call. Companion to the 'effort' field landing in this same area.
This commit is contained in:
parent
65ea96bb1f
commit
ae829416d0
1 changed files with 5 additions and 1 deletions
|
|
@ -129,7 +129,11 @@ class RunRequest(BaseModel):
|
|||
# get the budget they deserve.
|
||||
effort: Literal["low", "medium", "high", "xhigh", "max"] | None = None
|
||||
files: list[str] | None = None
|
||||
timeout_secs: int | None = Field(default=None, ge=5, le=600)
|
||||
# Long-form prose-craft at --effort max can run 10–20 min wall clock,
|
||||
# so the per-run cap is 1800s. Server still streams a per-process
|
||||
# SIGTERM at the boundary; the caller's RunResult.duration_ms is
|
||||
# honest about wall clock.
|
||||
timeout_secs: int | None = Field(default=None, ge=5, le=1800)
|
||||
|
||||
|
||||
class TokenCreateRequest(BaseModel):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue