mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35:00 +00:00
switch naming from openai/gpt-4o to gpt-4o
This commit is contained in:
parent
edc70bdf84
commit
72613f3b27
4 changed files with 14 additions and 4 deletions
|
@ -406,7 +406,7 @@
|
||||||
|
|
||||||
- dirname: 2024-05-13-17-39-05--gpt-4o-diff
|
- dirname: 2024-05-13-17-39-05--gpt-4o-diff
|
||||||
test_cases: 133
|
test_cases: 133
|
||||||
model: openai/gpt-4o
|
model: gpt-4o
|
||||||
edit_format: diff
|
edit_format: diff
|
||||||
commit_hash: b6cd852
|
commit_hash: b6cd852
|
||||||
pass_rate_1: 60.2
|
pass_rate_1: 60.2
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
|
|
||||||
- dirname: 2024-05-13-17-42-22--refac-gpt-4o-diff
|
- dirname: 2024-05-13-17-42-22--refac-gpt-4o-diff
|
||||||
test_cases: 89
|
test_cases: 89
|
||||||
model: openai/gpt-4o
|
model: gpt-4o
|
||||||
edit_format: diff
|
edit_format: diff
|
||||||
commit_hash: b6cd852
|
commit_hash: b6cd852
|
||||||
pass_rate_1: 62.9
|
pass_rate_1: 62.9
|
||||||
|
|
|
@ -67,7 +67,7 @@ def get_parser(default_config_files, git_root):
|
||||||
const=gpt_4_model,
|
const=gpt_4_model,
|
||||||
help=f"Use {gpt_4_model} model for the main chat",
|
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(
|
group.add_argument(
|
||||||
"--4o",
|
"--4o",
|
||||||
action="store_const",
|
action="store_const",
|
||||||
|
|
|
@ -11,7 +11,7 @@ from PIL import Image
|
||||||
from aider.dump import dump # noqa: F401
|
from aider.dump import dump # noqa: F401
|
||||||
from aider.litellm import litellm
|
from aider.litellm import litellm
|
||||||
|
|
||||||
DEFAULT_MODEL_NAME = "openai/gpt-4o"
|
DEFAULT_MODEL_NAME = "gpt-4o"
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
@ -94,6 +94,16 @@ MODEL_SETTINGS = [
|
||||||
lazy=True,
|
lazy=True,
|
||||||
reminder_as_sys_msg=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(
|
ModelSettings(
|
||||||
"gpt-4-0125-preview",
|
"gpt-4-0125-preview",
|
||||||
"udiff",
|
"udiff",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue