feat: add --haiku flag for claude-3-5-haiku model selection

This commit is contained in:
Paul Gauthier (aider) 2024-11-04 12:14:23 -08:00
parent 0cfc23b1a8
commit 7883db1834

View file

@ -66,6 +66,14 @@ def get_parser(default_config_files, git_root):
const=sonnet_model, const=sonnet_model,
help=f"Use {sonnet_model} model for the main chat", help=f"Use {sonnet_model} model for the main chat",
) )
haiku_model = "claude-3-5-haiku-20241022"
group.add_argument(
"--haiku",
action="store_const",
dest="model",
const=haiku_model,
help=f"Use {haiku_model} model for the main chat",
)
gpt_4_model = "gpt-4-0613" gpt_4_model = "gpt-4-0613"
group.add_argument( group.add_argument(
"--4", "--4",