From fc981737ee8bc7c9293bc875df113d59713eca94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20=C3=96rwall?= Date: Tue, 30 Jul 2024 06:59:53 +0200 Subject: [PATCH] Disable GitRepository --- moatless/benchmark/swebench/utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/moatless/benchmark/swebench/utils.py b/moatless/benchmark/swebench/utils.py index a57a2817..b3b70d89 100644 --- a/moatless/benchmark/swebench/utils.py +++ b/moatless/benchmark/swebench/utils.py @@ -328,8 +328,9 @@ def create_workspace( index_store_dir, get_repo_dir_name(instance["instance_id"]) ) return Workspace.from_dirs( - git_repo_url=repo_url, - commit=instance["base_commit"], + # TODO: Enable this to use GitRepository + # git_repo_url=repo_url, + # commit=instance["base_commit"], repo_dir=repo_dir, index_dir=persist_dir, )