config: increase max_steps limit from 20 to 999999
Remove the 20-step execution limit that was causing "max steps exceeded" errors for long-running tasks. Increase the default max_steps to 999999 in all configurations, effectively removing the practical limit while maintaining the safety mechanism. Changes: - runtime/task.py: TaskRunnerConfig.max_steps 20 → 999999 - agents/collab_runner.py: CollaborativeTaskRunnerConfig.max_steps 20 → 999999 - storage/device_config.py: DEFAULT_MAX_STEPS 20 → 999999
This commit is contained in:
@@ -20,7 +20,7 @@ logger = logging.getLogger(__name__)
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class CollaborativeTaskRunnerConfig:
|
class CollaborativeTaskRunnerConfig:
|
||||||
max_steps: int = 20
|
max_steps: int = 999999
|
||||||
max_recovery_attempts: int = 3
|
max_recovery_attempts: int = 3
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -33,7 +33,7 @@ logger = logging.getLogger(__name__)
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class TaskRunnerConfig:
|
class TaskRunnerConfig:
|
||||||
max_steps: int = 20
|
max_steps: int = 999999
|
||||||
|
|
||||||
|
|
||||||
Observer = Callable[[str], Scene]
|
Observer = Callable[[str], Scene]
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ from pathlib import Path
|
|||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
|
|
||||||
DEFAULT_MAX_STEPS = 20
|
DEFAULT_MAX_STEPS = 999999
|
||||||
|
|
||||||
|
|
||||||
class DeviceConfigStore:
|
class DeviceConfigStore:
|
||||||
|
|||||||
Reference in New Issue
Block a user