diff --git a/cecli/coders/base_coder.py b/cecli/coders/base_coder.py index 0b7f847d436..8d16f741998 100755 --- a/cecli/coders/base_coder.py +++ b/cecli/coders/base_coder.py @@ -4003,7 +4003,8 @@ def apply_edits_dry_run(self, edits): return edits def local_agent_folder(self, path): - os.makedirs(f".cecli/agents/{GLOBAL_DATE}/{self.uuid}", exist_ok=True) + abs_path = self.abs_root_path(f".cecli/agents/{GLOBAL_DATE}/{self.uuid}/path") + os.makedirs(abs_path, exist_ok=True) stripped = path.lstrip("/") return f".cecli/agents/{GLOBAL_DATE}/{self.uuid}/{stripped}"