mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
Model.use_repo_map, Model.send_undo_reply
This commit is contained in:
parent
43ba638ac4
commit
122c1c4f6c
3 changed files with 7 additions and 3 deletions
|
@ -3,6 +3,8 @@ import re
|
|||
|
||||
class Model:
|
||||
always_available = False
|
||||
use_repo_map = False
|
||||
send_undo_reply = False
|
||||
|
||||
def __init__(self, name, tokens=None):
|
||||
self.name = name
|
||||
|
@ -17,6 +19,8 @@ class Model:
|
|||
|
||||
if self.is_gpt4():
|
||||
self.edit_format = "diff"
|
||||
self.use_repo_map = True
|
||||
self.send_undo_reply = True
|
||||
return
|
||||
|
||||
if self.is_gpt35():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue