mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 11:14:59 +00:00
fix: update model configurations
This commit is contained in:
parent
2663233b60
commit
795810ffb8
1 changed files with 3 additions and 4 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(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue