π OpenHands: AI-Driven Development
disable mcp in run_localize and install oh-aci[llama] for issue 9150 (#9151)
better629432d8829dc14
diff --git a/evaluation/benchmarks/swe_bench/run_localize.py b/evaluation/benchmarks/swe_bench/run_localize.pyindex 2a1dcfe220..d81fd6c3b5 100644--- a/evaluation/benchmarks/swe_bench/run_localize.py+++ b/evaluation/benchmarks/swe_bench/run_localize.py@@ -192,6 +192,8 @@ def get_config(dataset_name=metadata.dataset,instance_id=instance['instance_id'],)+ oh_aci_li_cmd = '/openhands/micromamba/bin/micromamba run -n openhands poetry run pip install openhands-aci[llama]'+ sandbox_config.runtime_extra_deps = oh_aci_li_cmdworkspace_dir_name = _get_swebench_workspace_dir_name(instance)sandbox_config.runtime_startup_env_vars = {'REPO_PATH': f'/workspace/{workspace_dir_name}/',@@ -216,6 +218,7 @@ def get_config(enable_jupyter=False,enable_browsing=RUN_WITH_BROWSING,enable_llm_editor=False,+ enable_mcp=os.environ.get('ENABLE_MCP', False),condenser=metadata.condenser_config,enable_prompt_extensions=False,)