diff --git a/aider/args.py b/aider/args.py index 971f3c5cb..5e4b09f76 100644 --- a/aider/args.py +++ b/aider/args.py @@ -83,7 +83,7 @@ def get_parser(default_config_files, git_root): const=gpt_4_model, help=f"Use {gpt_4_model} model for the main chat", ) - gpt_4o_model = "gpt-4o-2024-08-06" + gpt_4o_model = "gpt-4o" group.add_argument( "--4o", action="store_const", diff --git a/aider/models.py b/aider/models.py index 12e809c0f..0f629a500 100644 --- a/aider/models.py +++ b/aider/models.py @@ -69,7 +69,7 @@ MODEL_ALIASES = { "opus": "claude-3-opus-20240229", # GPT models "4": "gpt-4-0613", - "4o": "gpt-4o-2024-08-06", + "4o": "gpt-4o", "4-turbo": "gpt-4-1106-preview", "35turbo": "gpt-3.5-turbo", "35-turbo": "gpt-3.5-turbo",