mirror of
https://github.com/Aider-AI/aider
synced 2026-04-25 17:15:07 +02:00
feat: Map opus and sonnet aliases to latest Claude models
Co-authored-by: aider (gpt-5.4) <aider@aider.chat>
This commit is contained in:
@@ -88,9 +88,9 @@ ANTHROPIC_MODELS = [ln.strip() for ln in ANTHROPIC_MODELS.splitlines() if ln.str
|
||||
# Mapping of model aliases to their canonical names
|
||||
MODEL_ALIASES = {
|
||||
# Claude models
|
||||
"sonnet": "claude-sonnet-4-5",
|
||||
"sonnet": "claude-sonnet-4-6",
|
||||
"haiku": "claude-haiku-4-5",
|
||||
"opus": "claude-opus-4-6",
|
||||
"opus": "claude-opus-4-7",
|
||||
# GPT models
|
||||
"4": "gpt-4-0613",
|
||||
"4o": "gpt-4o",
|
||||
|
||||
Reference in New Issue
Block a user