mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
74631eec98
2 changed files with 5 additions and 6 deletions
|
@ -18,7 +18,7 @@ from aider.dump import dump # noqa: F401
|
||||||
from aider.llm import litellm
|
from aider.llm import litellm
|
||||||
|
|
||||||
DEFAULT_MODEL_NAME = "gpt-4o"
|
DEFAULT_MODEL_NAME = "gpt-4o"
|
||||||
ANTHROPIC_BETA_HEADER = "max-tokens-3-5-sonnet-2024-07-15,prompt-caching-2024-07-31"
|
ANTHROPIC_BETA_HEADER = "prompt-caching-2024-07-31"
|
||||||
|
|
||||||
OPENAI_MODELS = """
|
OPENAI_MODELS = """
|
||||||
gpt-4
|
gpt-4
|
||||||
|
@ -306,10 +306,8 @@ MODEL_SETTINGS = [
|
||||||
examples_as_sys_msg=True,
|
examples_as_sys_msg=True,
|
||||||
accepts_images=True,
|
accepts_images=True,
|
||||||
max_tokens=8192,
|
max_tokens=8192,
|
||||||
extra_headers={
|
|
||||||
"anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15",
|
|
||||||
},
|
|
||||||
reminder="user",
|
reminder="user",
|
||||||
|
cache_control=True,
|
||||||
),
|
),
|
||||||
# Vertex AI Claude models
|
# Vertex AI Claude models
|
||||||
# Does not yet support 8k token
|
# Does not yet support 8k token
|
||||||
|
@ -320,6 +318,7 @@ MODEL_SETTINGS = [
|
||||||
use_repo_map=True,
|
use_repo_map=True,
|
||||||
examples_as_sys_msg=True,
|
examples_as_sys_msg=True,
|
||||||
accepts_images=True,
|
accepts_images=True,
|
||||||
|
max_tokens=8192,
|
||||||
reminder="user",
|
reminder="user",
|
||||||
),
|
),
|
||||||
ModelSettings(
|
ModelSettings(
|
||||||
|
|
|
@ -950,7 +950,7 @@
|
||||||
|
|
||||||
- dirname: 2024-09-04-16-08-09--yi-coder-9b-whole
|
- dirname: 2024-09-04-16-08-09--yi-coder-9b-whole
|
||||||
test_cases: 133
|
test_cases: 133
|
||||||
model: openai/hf:01-ai/Yi-Coder-9B-Chat
|
model: Yi Coder 9B Chat
|
||||||
edit_format: whole
|
edit_format: whole
|
||||||
commit_hash: c4e4967
|
commit_hash: c4e4967
|
||||||
pass_rate_1: 46.6
|
pass_rate_1: 46.6
|
||||||
|
@ -974,7 +974,7 @@
|
||||||
|
|
||||||
- dirname: 2024-09-04-16-17-33--yi-coder-9b-chat-q4_0-whole
|
- dirname: 2024-09-04-16-17-33--yi-coder-9b-chat-q4_0-whole
|
||||||
test_cases: 133
|
test_cases: 133
|
||||||
model: ollama/yi-coder:9b-chat-q4_0
|
model: yi-coder:9b-chat-q4_0
|
||||||
edit_format: whole
|
edit_format: whole
|
||||||
commit_hash: c4e4967
|
commit_hash: c4e4967
|
||||||
pass_rate_1: 41.4
|
pass_rate_1: 41.4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue