From b02000caa9ec5dfaf8b21197b366711f40423cb1 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 4 Jun 2023 11:43:03 -0700 Subject: [PATCH] Force showing diffs and disabling ctags/repo-maps --- aider/coder.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/aider/coder.py b/aider/coder.py index 141844aa6..ce57aac0b 100755 --- a/aider/coder.py +++ b/aider/coder.py @@ -64,7 +64,6 @@ class Coder: self.dirty_commits = dirty_commits self.dry_run = dry_run self.pretty = pretty - self.show_diffs = show_diffs if pretty: self.console = Console() @@ -80,13 +79,17 @@ class Coder: self.main_model = main_model if main_model == "gpt-3.5-turbo": - self.io.tool_error( - f"Aider doesn't work well with {main_model}, use gpt-4 for best results." + self.io.tool_output( + f"Using {main_model}, so showing diffs and disabling ctags/repo-maps", ) self.gpt_prompts = prompts.GPT35() + map_tokens = 0 + show_diffs = True else: self.gpt_prompts = prompts.GPT4() + self.show_diffs = show_diffs + self.set_repo(fnames) if self.repo: