From 7a1c1982f0c123b67969c6c5225ad5da3ea41aaf Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 5 Dec 2024 20:35:04 -0800 Subject: [PATCH] feat: implement auto copy context functionality --- aider/coders/base_coder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index e1fe9316e..6b7c971a0 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -807,8 +807,8 @@ class Coder: return def copy_context(self): - # run cmd_copy_context if self.auto-copy-context ai! - pass + if self.auto_copy_context: + self.commands.cmd_copy_context() def get_input(self): inchat_files = self.get_inchat_relative_files()