fix: Improve prompt caching and repo map refresh logic

This commit is contained in:
Paul Gauthier 2024-08-19 15:36:13 -07:00 committed by Paul Gauthier (aider)
parent f8b80548fd
commit 34dc7cc37d
5 changed files with 14 additions and 7 deletions

View file

@ -1017,7 +1017,7 @@ class Commands:
except Exception as e:
self.io.tool_error(f"Error processing clipboard content: {e}")
def cmd_read(self, args):
def cmd_read_only(self, args):
"Add a file to the chat that is for reference, not to be edited"
if not args.strip():
self.io.tool_error("Please provide a filename to read.")