Skip to content

Commit d6edadc

Browse files
authored
Update Anthropic models to include Opus 4.5 (#174)
1 parent 7b8c8cf commit d6edadc

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ This is the full list of supported models:
195195
|-------------|---------------------------------|-------------------------------------------------------------------------------|
196196
| **OpenAI** | `gpt-5`, `gpt-4.1`, `gpt-4o-mini`, `o1-preview` | [Generate API key](https://platform.openai.com/api-keys) |
197197
| **Google Gemini** | `gemini-2.5-pro`, `gemini-2.5-flash` | [Get API key](https://aistudio.google.com/apikey) |
198-
| **Anthropic (Claude)** | `claude-sonnet-4-5`, `claude-3-opus-latest` | [Anthropic Console](https://console.anthropic.com/dashboard) |
198+
| **Anthropic (Claude)** | `claude-opus-4-5`, `claude-sonnet-4-5`, `claude-haiku-4-5` | [Anthropic Console](https://console.anthropic.com/dashboard) |
199199
| **Mistral** | `mistral-large-latest`, `mistral-small`, `codestral-latest` | [Mistral Platform](https://console.mistral.ai/api-keys) |
200200
| **DeepSeek** | `deepseek-chat`, `deepseek-reasoner` | [DeepSeek Platform](https://platform.deepseek.com/usage) |
201201
| **Local / Custom** | Any OpenAI-compatible model (e.g. `llama3`) | Run with `--model-url http://localhost:11434/v1` |
@@ -277,7 +277,10 @@ These are the main supported models, though the CLI may support additional ones
277277

278278
| Model name |
279279
| ---------------------------- |
280+
| claude-opus-4-5 |
280281
| claude-sonnet-4-5 |
282+
| claude-haiku-4-5 |
283+
| claude-opus-4-1-20250805 |
281284
| claude-sonnet-4-0 |
282285
| claude-3-7-sonnet-latest |
283286
| claude-3-5-sonnet-latest |

src/lgtm_ai/ai/schemas.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,21 @@
4242
"claude-sonnet-4-20250514",
4343
"claude-sonnet-4-0",
4444
"claude-4-sonnet-20250514",
45+
"claude-sonnet-4-5",
4546
"claude-3-5-sonnet-latest",
4647
"claude-3-5-sonnet-20241022",
4748
"claude-3-5-sonnet-20240620",
49+
"claude-opus-4-5",
50+
"claude-opus-4-5-20251101",
51+
"claude-opus-4-1-20250805",
4852
"claude-opus-4-0",
4953
"claude-opus-4-20250514",
5054
"claude-4-opus-20250514",
51-
"claude-opus-4-1-20250805",
5255
"claude-3-opus-latest",
5356
"claude-3-opus-20240229",
57+
"claude-haiku-4-5",
58+
"claude-haiku-4-5-20251015",
5459
"claude-3-haiku-20240307",
55-
"claude-sonnet-4-5",
5660
]
5761

5862
AnyModel = str

0 commit comments

Comments
 (0)