From 4a37d07acbbd65288be2e3ea9b15599668610f0b Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 9 Dec 2024 18:46:44 -0800 Subject: [PATCH] fix: skip context copy when using placeholder input --- aider/coders/base_coder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index 70b06eb6645..613a03fdd55 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -797,7 +797,8 @@ def run(self, with_message=None, preproc=True): return self.partial_response_content while True: try: - self.copy_context() + if not self.io.placeholder: + self.copy_context() user_message = self.get_input() self.run_one(user_message, preproc) self.show_undo_hint()