From ef582a6335f2158267318895076469a02e234ef9 Mon Sep 17 00:00:00 2001 From: Xingyao Wang Date: Wed, 18 Jun 2025 15:32:15 -0400 Subject: [PATCH] Increase max iterations from 250 to 500 (#9203) Co-authored-by: openhands --- config.template.toml | 2 +- openhands/core/config/config_utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.template.toml b/config.template.toml index 30bf1cd5ba..844fb7e634 100644 --- a/config.template.toml +++ b/config.template.toml @@ -64,7 +64,7 @@ #max_budget_per_task = 0.0 # Maximum number of iterations -#max_iterations = 250 +#max_iterations = 500 # 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.py index 408a714bee..63f04ebd90 100644 --- a/openhands/core/config/config_utils.py +++ b/openhands/core/config/config_utils.py @@ -5,7 +5,7 @@ from pydantic import BaseModel from pydantic.fields import FieldInfo OH_DEFAULT_AGENT = 'CodeActAgent' -OH_MAX_ITERATIONS = 250 +OH_MAX_ITERATIONS = 500 def get_field_info(field: FieldInfo) -> dict[str, Any]: