From 3974629d50d25222a1b3750fb1c4b7c20e8c3ec8 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 21 Jun 2023 14:36:31 -0700 Subject: [PATCH] /clear should only clear history, not drop files --- aider/commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index 79be3325e..ea9ee6268 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -79,9 +79,8 @@ class Commands: self.coder.commit(message=commit_message, which="repo_files") def cmd_clear(self, args): - "Clear the chat history and drop all files from the chat context" + "Clear the chat history" - self.coder.abs_fnames = set() self.coder.done_messages = [] self.coder.cur_messages = []