mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Reduce max iterations by default (#7535)
This commit is contained in:
parent
60196d2eca
commit
8e9eb7d07d
@ -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"
|
||||
|
||||
@ -5,7 +5,7 @@ from pydantic import BaseModel
|
||||
from pydantic.fields import FieldInfo
|
||||
|
||||
OH_DEFAULT_AGENT = 'CodeActAgent'
|
||||
OH_MAX_ITERATIONS = 500
|
||||
OH_MAX_ITERATIONS = 250
|
||||
|
||||
|
||||
def get_field_info(field: FieldInfo) -> dict[str, Any]:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user