max task steps for task v2 (#1877)

This commit is contained in:
Shuchang Zheng 2025-03-04 01:07:07 -05:00 committed by GitHub
parent 618070840f
commit d31e4bf268
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 90 additions and 40 deletions

View file

@ -337,7 +337,8 @@ class TaskV2BlockYAML(BlockYAML):
url: str | None = None
totp_verification_url: str | None = None
totp_identifier: str | None = None
max_iterations: int = 10
max_iterations: int = settings.MAX_ITERATIONS_PER_TASK_V2
max_steps: int = settings.MAX_STEPS_PER_TASK_V2
PARAMETER_YAML_SUBCLASSES = (