mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
Force showing diffs and disabling ctags/repo-maps
This commit is contained in:
parent
9088d139b2
commit
b02000caa9
1 changed files with 6 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue