mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
Refactor Coder creation to use file name instead of string representation
This commit is contained in:
parent
775dd9e6b8
commit
b69bf02115
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ two
|
||||||
|
|
||||||
# Create the first coder
|
# Create the first coder
|
||||||
io = InputOutput(yes=True)
|
io = InputOutput(yes=True)
|
||||||
coder1 = Coder.create(self.GPT35, None, io=io, fnames=[str(test_file)])
|
coder1 = Coder.create(self.GPT35, None, io=io, fnames=[test_file.name])
|
||||||
|
|
||||||
# Create a new coder from the first coder
|
# Create a new coder from the first coder
|
||||||
coder2 = Coder.create(from_coder=coder1)
|
coder2 = Coder.create(from_coder=coder1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue