From 9974fb50f79ecae4649a25fb2ec36bdd14612624 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 9 Dec 2024 15:34:57 -0800 Subject: [PATCH] feat: add auto-conversion of /added files to read-only mode --- aider/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/commands.py b/aider/commands.py index 864e07128..7a3fa45ac 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -1206,6 +1206,7 @@ class Commands: except Exception as e: self.io.tool_error(f"Error processing clipboard content: {e}") + # if no args are supplied, convert all /added files into read-only files ai! def cmd_read_only(self, args): "Add files to the chat that are for reference, not to be edited" if not args.strip():