Skip to content

Commit cac2e5f

Browse files
author
Your Name
committed
Preserve agent folder file structure
1 parent 60a745d commit cac2e5f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

cecli/coders/base_coder.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4005,8 +4005,10 @@ def apply_edits_dry_run(self, edits):
40054005
return edits
40064006

40074007
def local_agent_folder(self, path):
4008-
abs_path = self.abs_root_path(f".cecli/agents/{GLOBAL_DATE}/{self.uuid}/path")
4009-
os.makedirs(abs_path, exist_ok=True)
4008+
os.makedirs(
4009+
self.abs_root_path(f".cecli/agents/{GLOBAL_DATE}/{self.uuid}"),
4010+
exist_ok=True,
4011+
)
40104012

40114013
stripped = path.lstrip("/")
40124014
return f".cecli/agents/{GLOBAL_DATE}/{self.uuid}/{stripped}"

0 commit comments

Comments
 (0)