mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
fix: Remove pretty
argument from Coder.create()
calls
This commit is contained in:
parent
ba895c656a
commit
90b79e075a
1 changed files with 1 additions and 2 deletions
|
@ -297,7 +297,7 @@ These changes replace the `subprocess.run` patches with `subprocess.check_output
|
||||||
files = [file1]
|
files = [file1]
|
||||||
|
|
||||||
# Initialize the Coder object with the mocked IO and mocked repo
|
# Initialize the Coder object with the mocked IO and mocked repo
|
||||||
coder = Coder.create(self.GPT35, "diff", io=InputOutput(), fnames=files, pretty=False)
|
coder = Coder.create(self.GPT35, "diff", io=InputOutput(), fnames=files)
|
||||||
|
|
||||||
def mock_send(*args, **kwargs):
|
def mock_send(*args, **kwargs):
|
||||||
coder.partial_response_content = f"""
|
coder.partial_response_content = f"""
|
||||||
|
@ -340,7 +340,6 @@ new
|
||||||
io=InputOutput(dry_run=True),
|
io=InputOutput(dry_run=True),
|
||||||
fnames=files,
|
fnames=files,
|
||||||
dry_run=True,
|
dry_run=True,
|
||||||
pretty=False,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def mock_send(*args, **kwargs):
|
def mock_send(*args, **kwargs):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue