feat: add fancy_input parameter to InputOutput class initialization

This commit is contained in:
Paul Gauthier (aider) 2024-10-24 14:23:24 -07:00
parent 8a63b1b3ce
commit 97a9c65125

View file

@ -192,6 +192,7 @@ class InputOutput:
dry_run=False,
llm_history_file=None,
editingmode=EditingMode.EMACS,
fancy_input=True,
):
self.never_prompts = set()
self.editingmode = editingmode
@ -234,8 +235,7 @@ class InputOutput:
self.append_chat_history(f"\n# aider chat started at {current_time}\n\n")
self.prompt_session = None
# add fancy_input as an init param @ai
if self.fancy_input:
if fancy_input:
# Initialize PromptSession
session_kwargs = {
"input": self.input,