Skip to content

πŸ™Œ OpenHands: AI-Driven Development

[Evaluation] Fix sandbox config in TAC (#7684)

Boxuan Lid7c49a065684
diff --git a/evaluation/benchmarks/the_agent_company/run_infer.py b/evaluation/benchmarks/the_agent_company/run_infer.py
index 732a431aa1..2127e3c683 100644
--- a/evaluation/benchmarks/the_agent_company/run_infer.py
+++ b/evaluation/benchmarks/the_agent_company/run_infer.py
@@ -40,6 +40,9 @@ def get_config(
) -> AppConfig:
sandbox_config = get_default_sandbox_config_for_eval()
sandbox_config.base_container_image = base_container_image
+ sandbox_config.enable_auto_lint = True
+ # If the web services are running on the host machine, this must be set to True
+ sandbox_config.use_host_network = True
config = AppConfig(
run_as_openhands=False,
max_budget_per_task=4,