mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 20:54:59 +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.dirty_commits = dirty_commits
|
||||||
self.dry_run = dry_run
|
self.dry_run = dry_run
|
||||||
self.pretty = pretty
|
self.pretty = pretty
|
||||||
self.show_diffs = show_diffs
|
|
||||||
|
|
||||||
if pretty:
|
if pretty:
|
||||||
self.console = Console()
|
self.console = Console()
|
||||||
|
@ -80,13 +79,17 @@ class Coder:
|
||||||
|
|
||||||
self.main_model = main_model
|
self.main_model = main_model
|
||||||
if main_model == "gpt-3.5-turbo":
|
if main_model == "gpt-3.5-turbo":
|
||||||
self.io.tool_error(
|
self.io.tool_output(
|
||||||
f"Aider doesn't work well with {main_model}, use gpt-4 for best results."
|
f"Using {main_model}, so showing diffs and disabling ctags/repo-maps",
|
||||||
)
|
)
|
||||||
self.gpt_prompts = prompts.GPT35()
|
self.gpt_prompts = prompts.GPT35()
|
||||||
|
map_tokens = 0
|
||||||
|
show_diffs = True
|
||||||
else:
|
else:
|
||||||
self.gpt_prompts = prompts.GPT4()
|
self.gpt_prompts = prompts.GPT4()
|
||||||
|
|
||||||
|
self.show_diffs = show_diffs
|
||||||
|
|
||||||
self.set_repo(fnames)
|
self.set_repo(fnames)
|
||||||
|
|
||||||
if self.repo:
|
if self.repo:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue