Skip to content

Commit

Permalink
fix: skip context copy when using placeholder input
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Dec 10, 2024
1 parent bb4c61e commit 4a37d07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aider/coders/base_coder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 4a37d07

Please sign in to comment.