From 7883db1834675a65efa97394aed7cc67ee7185b4 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Mon, 4 Nov 2024 12:14:23 -0800 Subject: [PATCH] feat: add --haiku flag for claude-3-5-haiku model selection --- aider/args.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/aider/args.py b/aider/args.py index 852b42ee2..c083f21a1 100644 --- a/aider/args.py +++ b/aider/args.py @@ -66,6 +66,14 @@ def get_parser(default_config_files, git_root): const=sonnet_model, 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" group.add_argument( "--4",