switch naming from openai/gpt-4o to gpt-4o

This commit is contained in:
Paul Gauthier 2024-05-15 06:25:30 -07:00
parent edc70bdf84
commit 72613f3b27
4 changed files with 14 additions and 4 deletions

View file

@ -406,7 +406,7 @@
- dirname: 2024-05-13-17-39-05--gpt-4o-diff
test_cases: 133
model: openai/gpt-4o
model: gpt-4o
edit_format: diff
commit_hash: b6cd852
pass_rate_1: 60.2

View file

@ -103,7 +103,7 @@
- dirname: 2024-05-13-17-42-22--refac-gpt-4o-diff
test_cases: 89
model: openai/gpt-4o
model: gpt-4o
edit_format: diff
commit_hash: b6cd852
pass_rate_1: 62.9

View file

@ -67,7 +67,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 = "openai/gpt-4o"
gpt_4o_model = "gpt-4o"
group.add_argument(
"--4o",
action="store_const",

View file

@ -11,7 +11,7 @@ from PIL import Image
from aider.dump import dump # noqa: F401
from aider.litellm import litellm
DEFAULT_MODEL_NAME = "openai/gpt-4o"
DEFAULT_MODEL_NAME = "gpt-4o"
@dataclass
@ -94,6 +94,16 @@ MODEL_SETTINGS = [
lazy=True,
reminder_as_sys_msg=True,
),
ModelSettings(
"gpt-4o",
"diff",
weak_model_name="gpt-3.5-turbo",
use_repo_map=True,
send_undo_reply=True,
accepts_images=True,
lazy=True,
reminder_as_sys_msg=True,
),
ModelSettings(
"gpt-4-0125-preview",
"udiff",