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:
Paul Gauthier
2026-04-23 07:01:49 -07:00
parent 9ce34d179c
commit b9d877488c

View File

@@ -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",