Skip to content

Commit 63a651e

Browse files
enystTetsu-is
authored andcommitted
Reduce max iterations by default (All-Hands-AI#7535)
1 parent 8f54e33 commit 63a651e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config.template.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#daytona_target = ""
2525

2626
# Base path for the workspace
27-
workspace_base = "./workspace"
27+
#workspace_base = "./workspace"
2828

2929
# Cache directory path
3030
#cache_dir = "/tmp/cache"
@@ -64,7 +64,7 @@ workspace_base = "./workspace"
6464
#max_budget_per_task = 0.0
6565

6666
# Maximum number of iterations
67-
#max_iterations = 100
67+
#max_iterations = 250
6868

6969
# Path to mount the workspace in the sandbox
7070
#workspace_mount_path_in_sandbox = "/workspace"

openhands/core/config/config_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from pydantic.fields import FieldInfo
66

77
OH_DEFAULT_AGENT = 'CodeActAgent'
8-
OH_MAX_ITERATIONS = 500
8+
OH_MAX_ITERATIONS = 250
99

1010

1111
def get_field_info(field: FieldInfo) -> dict[str, Any]:

0 commit comments

Comments
 (0)