feat: add auto-conversion of /added files to read-only mode

This commit is contained in:
Paul Gauthier 2024-12-09 15:34:57 -08:00 committed by Paul Gauthier (aider)
parent c5d51d62c4
commit 9974fb50f7

View file

@ -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():