π OpenHands: AI-Driven Development
Reduce max iterations by default (#7535)
Engel Nyst8e9eb7d07dca
diff --git a/config.template.toml b/config.template.tomlindex f04e386ed8..acdc86cbc5 100644--- a/config.template.toml+++ b/config.template.toml@@ -24,7 +24,7 @@#daytona_target = ""# Base path for the workspace-workspace_base = "./workspace"+#workspace_base = "./workspace"# Cache directory path#cache_dir = "/tmp/cache"@@ -64,7 +64,7 @@ workspace_base = "./workspace"#max_budget_per_task = 0.0# Maximum number of iterations-#max_iterations = 100+#max_iterations = 250# Path to mount the workspace in the sandbox#workspace_mount_path_in_sandbox = "/workspace"diff --git a/openhands/core/config/config_utils.py b/openhands/core/config/config_utils.pyindex 63f04ebd90..408a714bee 100644--- a/openhands/core/config/config_utils.py+++ b/openhands/core/config/config_utils.py@@ -5,7 +5,7 @@ from pydantic import BaseModelfrom pydantic.fields import FieldInfoOH_DEFAULT_AGENT = 'CodeActAgent'-OH_MAX_ITERATIONS = 500+OH_MAX_ITERATIONS = 250def get_field_info(field: FieldInfo) -> dict[str, Any]: