From 560e4276845cffcc7497eaa299cd94d93cd3e6b0 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 23 May 2023 06:05:48 -0700 Subject: [PATCH] aider: Updated default values of `pretty` and `yes` to `True` and `False` respectively in the `InputOutput` class constructor. # Context: USER: give inputoutput defaults of pretty=true and yes=false ASSISTANT: To update the default values of `pretty` and `yes` in the `InputOutput` class, I will modify the `__init__` method in the `io.py` file. ```python aider/io.py <<<<<<< ORIGINAL def __init__(self, pretty, yes, input_history_file=None, chat_history_file=None, input=None, output=None): ======= def __init__(self, pretty=True, yes=False, input_history_file=None, chat_history_file=None, input=None, output=None): >>>>>>> UPDATED ``` --- aider/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/io.py b/aider/io.py index 94af0affd..bfbef3bbc 100644 --- a/aider/io.py +++ b/aider/io.py @@ -51,7 +51,7 @@ class FileContentCompleter(Completer): class InputOutput: - def __init__(self, pretty, yes, input_history_file=None, chat_history_file=None, input=None, output=None): + def __init__(self, pretty=True, yes=False, input_history_file=None, chat_history_file=None, input=None, output=None): self.input = input self.output = output self.pretty = pretty