mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-31 19:45:15 +02:00
refactor(automation): rename schema config to params, drop dead fields
This commit is contained in:
parent
c8a89ccac8
commit
9fa35f21cf
11 changed files with 31 additions and 37 deletions
|
|
@ -16,9 +16,6 @@ class ExecutionBlock(BaseModel):
|
|||
max_retries: int = Field(default=2, ge=0, description="Per-step retry budget.")
|
||||
retry_backoff: Literal["exponential", "linear", "none"] = "exponential"
|
||||
concurrency: Literal["drop_if_running", "queue", "always"] = "drop_if_running"
|
||||
budget_cap_usd: float | None = Field(
|
||||
default=None, gt=0, description="Kill the run when accumulated cost exceeds this."
|
||||
)
|
||||
on_failure: list[PlanStep] = Field(
|
||||
default_factory=list,
|
||||
description="Steps run when the main plan fails after retries.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue