better approach to cloning Commands in from_coders

This commit is contained in:
Paul Gauthier 2024-08-03 10:13:21 -03:00
parent 5562bc96c7
commit 7a7febfb2b
2 changed files with 1 additions and 2 deletions

View file

@ -117,6 +117,7 @@ class Coder:
done_messages=done_messages,
cur_messages=from_coder.cur_messages,
aider_commit_hashes=from_coder.aider_commit_hashes,
commands=from_coder.commands.clone(),
)
use_kwargs.update(update) # override to complete the switch