Model.use_repo_map, Model.send_undo_reply

This commit is contained in:
Paul Gauthier 2023-06-20 16:13:50 -07:00
parent 43ba638ac4
commit 122c1c4f6c
3 changed files with 7 additions and 3 deletions

View file

@ -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():