feat : improve planner agent handling of multifiles project

This commit is contained in:
martin legrand
2025-04-07 12:02:01 +02:00
parent 416d9d00ad
commit a1e71fd0ce
6 changed files with 29 additions and 10 deletions
+1
View File
@@ -40,6 +40,7 @@ class BashInterpreter(Tools):
concat_output = ""
for command in commands:
command = f"cd {self.work_dir} && {command}"
command = command.replace('\n', '')
if self.safe_mode and is_unsafe(commands):
return "Unsafe command detected, execution aborted."