mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
use sonnet 1022 by default
This commit is contained in:
parent
cfcb6656cb
commit
3c4dad7eb4
3 changed files with 3 additions and 2 deletions
|
@ -58,7 +58,7 @@ def get_parser(default_config_files, git_root):
|
|||
const=opus_model,
|
||||
help=f"Use {opus_model} model for the main chat",
|
||||
)
|
||||
sonnet_model = "claude-3-5-sonnet-20240620"
|
||||
sonnet_model = "anthropic/claude-3-5-sonnet-20241022"
|
||||
group.add_argument(
|
||||
"--sonnet",
|
||||
action="store_const",
|
||||
|
|
|
@ -575,7 +575,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
if not args.model:
|
||||
args.model = "gpt-4o-2024-08-06"
|
||||
if os.environ.get("ANTHROPIC_API_KEY"):
|
||||
args.model = "claude-3-5-sonnet-20240620"
|
||||
args.model = "anthropic/claude-3-5-sonnet-20241022"
|
||||
|
||||
main_model = models.Model(
|
||||
args.model,
|
||||
|
|
|
@ -56,6 +56,7 @@ claude-3-haiku-20240307
|
|||
claude-3-opus-20240229
|
||||
claude-3-sonnet-20240229
|
||||
claude-3-5-sonnet-20240620
|
||||
claude-3-5-sonnet-20241022
|
||||
"""
|
||||
|
||||
ANTHROPIC_MODELS = [ln.strip() for ln in ANTHROPIC_MODELS.splitlines() if ln.strip()]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue