mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
More flexible models
This commit is contained in:
parent
8b5dcecbe2
commit
8660d35601
4 changed files with 44 additions and 50 deletions
|
@ -8,7 +8,7 @@ import git
|
|||
import tiktoken
|
||||
from prompt_toolkit.completion import Completion
|
||||
|
||||
from aider import models, prompts, utils
|
||||
from aider import prompts, utils
|
||||
|
||||
|
||||
class Commands:
|
||||
|
@ -183,7 +183,7 @@ class Commands:
|
|||
"was reset and removed from git.\n"
|
||||
)
|
||||
|
||||
if self.coder.main_model in models.GPT4_models:
|
||||
if self.coder.main_model.is_gpt4():
|
||||
return prompts.undo_command_reply
|
||||
|
||||
def cmd_diff(self, args):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue