π OpenHands: AI-Driven Development
Set default value of use_microagents to False to prevent breaking eval (#5976)
Xingyao Wang9dd5463e0687
diff --git a/evaluation/benchmarks/EDA/run_infer.py b/evaluation/benchmarks/EDA/run_infer.pyindex e8cee3df3e..b5a021a0b8 100644--- a/evaluation/benchmarks/EDA/run_infer.py+++ b/evaluation/benchmarks/EDA/run_infer.py@@ -75,6 +75,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/agent_bench/run_infer.py b/evaluation/benchmarks/agent_bench/run_infer.pyindex a64c66f22c..cf1dc6bba9 100644--- a/evaluation/benchmarks/agent_bench/run_infer.py+++ b/evaluation/benchmarks/agent_bench/run_infer.py@@ -59,6 +59,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/aider_bench/run_infer.py b/evaluation/benchmarks/aider_bench/run_infer.pyindex bc850dbc62..f0e86f3038 100644--- a/evaluation/benchmarks/aider_bench/run_infer.py+++ b/evaluation/benchmarks/aider_bench/run_infer.py@@ -67,6 +67,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = False# copy 'draft_editor' config if existsconfig_copy = copy.deepcopy(config)diff --git a/evaluation/benchmarks/biocoder/run_infer.py b/evaluation/benchmarks/biocoder/run_infer.pyindex c33c75e5a2..ba8eb4d17b 100644--- a/evaluation/benchmarks/biocoder/run_infer.py+++ b/evaluation/benchmarks/biocoder/run_infer.py@@ -73,6 +73,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/bird/run_infer.py b/evaluation/benchmarks/bird/run_infer.pyindex 14946ebacb..45ddf582dc 100644--- a/evaluation/benchmarks/bird/run_infer.py+++ b/evaluation/benchmarks/bird/run_infer.py@@ -86,6 +86,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/browsing_delegation/run_infer.py b/evaluation/benchmarks/browsing_delegation/run_infer.pyindex 016b6c3f58..3313c9ff4c 100644--- a/evaluation/benchmarks/browsing_delegation/run_infer.py+++ b/evaluation/benchmarks/browsing_delegation/run_infer.py@@ -50,6 +50,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/discoverybench/run_infer.py b/evaluation/benchmarks/discoverybench/run_infer.pyindex 0d5b47410c..05ff440035 100644--- a/evaluation/benchmarks/discoverybench/run_infer.py+++ b/evaluation/benchmarks/discoverybench/run_infer.py@@ -77,6 +77,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falseagent_config = AgentConfig(function_calling=False,codeact_enable_jupyter=True,diff --git a/evaluation/benchmarks/gaia/run_infer.py b/evaluation/benchmarks/gaia/run_infer.pyindex 8aaa479e92..7974a09290 100644--- a/evaluation/benchmarks/gaia/run_infer.py+++ b/evaluation/benchmarks/gaia/run_infer.py@@ -62,6 +62,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/gorilla/run_infer.py b/evaluation/benchmarks/gorilla/run_infer.pyindex e453b1f570..740a3c3ada 100644--- a/evaluation/benchmarks/gorilla/run_infer.py+++ b/evaluation/benchmarks/gorilla/run_infer.py@@ -55,6 +55,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/gpqa/run_infer.py b/evaluation/benchmarks/gpqa/run_infer.pyindex 08e6682792..eb1c808ec8 100644--- a/evaluation/benchmarks/gpqa/run_infer.py+++ b/evaluation/benchmarks/gpqa/run_infer.py@@ -76,6 +76,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/humanevalfix/run_infer.py b/evaluation/benchmarks/humanevalfix/run_infer.pyindex b2fb6d677a..5ab5af818f 100644--- a/evaluation/benchmarks/humanevalfix/run_infer.py+++ b/evaluation/benchmarks/humanevalfix/run_infer.py@@ -97,6 +97,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/logic_reasoning/run_infer.py b/evaluation/benchmarks/logic_reasoning/run_infer.pyindex d84c5f8ca8..ee48f5ea76 100644--- a/evaluation/benchmarks/logic_reasoning/run_infer.py+++ b/evaluation/benchmarks/logic_reasoning/run_infer.py@@ -61,6 +61,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/mint/run_infer.py b/evaluation/benchmarks/mint/run_infer.pyindex a98fa8d918..61223572ae 100644--- a/evaluation/benchmarks/mint/run_infer.py+++ b/evaluation/benchmarks/mint/run_infer.py@@ -119,6 +119,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/ml_bench/run_infer.py b/evaluation/benchmarks/ml_bench/run_infer.pyindex 1c084fc149..7f15476423 100644--- a/evaluation/benchmarks/ml_bench/run_infer.py+++ b/evaluation/benchmarks/ml_bench/run_infer.py@@ -92,6 +92,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/toolqa/run_infer.py b/evaluation/benchmarks/toolqa/run_infer.pyindex 6f6f1a0e20..8586f9a7bb 100644--- a/evaluation/benchmarks/toolqa/run_infer.py+++ b/evaluation/benchmarks/toolqa/run_infer.py@@ -56,6 +56,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn configdiff --git a/evaluation/benchmarks/webarena/run_infer.py b/evaluation/benchmarks/webarena/run_infer.pyindex ac51a201a7..c35c79ba2c 100644--- a/evaluation/benchmarks/webarena/run_infer.py+++ b/evaluation/benchmarks/webarena/run_infer.py@@ -77,6 +77,8 @@ def get_config(workspace_mount_path=None,)config.set_llm_config(metadata.llm_config)+ agent_config = config.get_agent_config(metadata.agent_class)+ agent_config.use_microagents = Falsereturn config