Moved all model names into an enum

This commit is contained in:
Paul Gauthier 2023-06-05 09:19:29 -07:00
parent efb8cad881
commit 95b32a74a9
5 changed files with 37 additions and 18 deletions

View file

@ -1,11 +1,17 @@
import math
import re
from difflib import SequenceMatcher
from enum import Enum
from pathlib import Path
# from aider.dump import dump
class Models(Enum):
GPT4 = "gpt-4"
GPT35 = "gpt-3.5-turbo"
def try_dotdotdots(whole, part, replace):
"""
See if the edit block has ... lines.