fix: skip context copy when using placeholder input

This commit is contained in:
Paul Gauthier 2024-12-09 18:46:44 -08:00 committed by Paul Gauthier (aider)
parent bb4c61e9cc
commit 4a37d07acb

View file

@ -797,7 +797,8 @@ class Coder:
return self.partial_response_content return self.partial_response_content
while True: while True:
try: try:
self.copy_context() if not self.io.placeholder:
self.copy_context()
user_message = self.get_input() user_message = self.get_input()
self.run_one(user_message, preproc) self.run_one(user_message, preproc)
self.show_undo_hint() self.show_undo_hint()