mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 19:55:00 +00:00
Abstract the default model name so it applies to scripting #537
This commit is contained in:
parent
cf7dfa816e
commit
5c10944054
4 changed files with 5 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue