need to run as root to use SWEBench container (#2068)

This commit is contained in:
Gant
2024-05-26 22:21:33 +08:00
committed by GitHub
parent 5114230e53
commit f0271f9f91

View File

@@ -86,7 +86,8 @@ class SWEBenchSSHBox(DockerSSHBox):
# linting python after editing helps LLM fix indentations
config.enable_auto_lint = True
# Need to run as root to use SWEBench container
config.run_as_devin = False
sandbox = cls(
container_image=SWE_BENCH_CONTAINER_IMAGE,
swe_instance_id=instance['instance_id'],