Abstract the default model name so it applies to scripting #537

This commit is contained in:
Paul Gauthier 2024-04-11 06:42:38 -07:00
parent cf7dfa816e
commit 5c10944054
4 changed files with 5 additions and 2 deletions

View file

@ -159,7 +159,7 @@ def main(argv=None, input=None, output=None, force_git_root=None):
env_var="OPENAI_API_KEY",
help="Specify the OpenAI API key",
)
default_model = "gpt-4-1106-preview"
default_model = models.DEFAULT_MODEL_NAME
core_group.add_argument(
"--model",
metavar="MODEL",