diff --git a/aider/commands.py b/aider/commands.py index fe91d902d..714502023 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -1040,7 +1040,7 @@ class Commands: # Expand the home directory if the path starts with "~" expanded_path = os.path.expanduser(word) abs_path = self.coder.abs_root_path(expanded_path) - + if not os.path.exists(abs_path): self.io.tool_error(f"File not found: {abs_path}") continue