mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
feat: add ignore_mentions attribute to cloned Coder instances
This commit is contained in:
parent
ff15bcdb30
commit
2d866418da
1 changed files with 3 additions and 1 deletions
|
@ -159,7 +159,9 @@ class Coder:
|
|||
raise ValueError(f"Unknown edit format {edit_format}")
|
||||
|
||||
def clone(self, **kwargs):
|
||||
return Coder.create(from_coder=self, **kwargs)
|
||||
new_coder = Coder.create(from_coder=self, **kwargs)
|
||||
new_coder.ignore_mentions = self.ignore_mentions
|
||||
return new_coder
|
||||
|
||||
def get_announcements(self):
|
||||
lines = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue