mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
refactor: consolidate model aliases into central dictionary
This commit is contained in:
parent
6d5f576b92
commit
524274fcf4
1 changed files with 14 additions and 0 deletions
|
@ -63,8 +63,22 @@ ANTHROPIC_MODELS = [ln.strip() for ln in ANTHROPIC_MODELS.splitlines() if ln.str
|
||||||
|
|
||||||
# Mapping of model aliases to their canonical names
|
# Mapping of model aliases to their canonical names
|
||||||
MODEL_ALIASES = {
|
MODEL_ALIASES = {
|
||||||
|
# Claude models
|
||||||
"sonnet": "claude-3-sonnet-20241022",
|
"sonnet": "claude-3-sonnet-20241022",
|
||||||
"haiku": "claude-3-haiku-20241022",
|
"haiku": "claude-3-haiku-20241022",
|
||||||
|
"opus": "claude-3-opus-20240229",
|
||||||
|
# GPT models
|
||||||
|
"4": "gpt-4-0613",
|
||||||
|
"4o": "gpt-4o-2024-08-06",
|
||||||
|
"mini": "gpt-4o-mini",
|
||||||
|
"4-turbo": "gpt-4-1106-preview",
|
||||||
|
"35turbo": "gpt-3.5-turbo",
|
||||||
|
"35-turbo": "gpt-3.5-turbo",
|
||||||
|
"3": "gpt-3.5-turbo",
|
||||||
|
# Other models
|
||||||
|
"deepseek": "deepseek/deepseek-coder",
|
||||||
|
"o1-mini": "o1-mini",
|
||||||
|
"o1-preview": "o1-preview",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue