Skip to content

Commit 0045e87

Browse files
committed
work with new modal version
1 parent ddc0637 commit 0045e87

File tree

2 files changed

+253
-267
lines changed

2 files changed

+253
-267
lines changed

commit0/harness/execution_context.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def __init__(
170170
image = modal.Image.from_registry(image_name, force_build=rebuild_image)
171171
if files_to_copy:
172172
for _, f in files_to_copy.items():
173-
image = image.copy_local_file(f["src"], f["dest"]) # type: ignore
173+
image = image.add_local_file(f["src"], f["dest"]) # type: ignore
174174
self.image = image
175175

176176
def exec_run_with_timeout(self, command: str) -> tuple[str, bool, float]:

0 commit comments

Comments
 (0)