add ai_fallback to TaskV2Request model (#3498)

This commit is contained in:
Jonathan Dobson
2025-09-22 11:13:06 -04:00
committed by GitHub
parent 8cffccfbb3
commit 1a657b1587
8 changed files with 72 additions and 234 deletions

View File

@@ -157,6 +157,7 @@ class TaskV2Request(BaseModel):
extra_http_headers: dict[str, str] | None = None
browser_address: str | None = None
generate_script: bool = False
ai_fallback: bool = False
@field_validator("url", "webhook_callback_url", "totp_verification_url")
@classmethod