Skip to content

Commit 8f20f9b

Browse files
Remove older deprecated models of Anthropic (#2345)
1 parent 362dcbf commit 8f20f9b

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

pydantic_ai_slim/pydantic_ai/models/__init__.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
KnownModelName = TypeAliasType(
3535
'KnownModelName',
3636
Literal[
37-
'anthropic:claude-2.0',
38-
'anthropic:claude-2.1',
3937
'anthropic:claude-3-5-haiku-20241022',
4038
'anthropic:claude-3-5-haiku-latest',
4139
'anthropic:claude-3-5-sonnet-20240620',
@@ -46,7 +44,6 @@
4644
'anthropic:claude-3-haiku-20240307',
4745
'anthropic:claude-3-opus-20240229',
4846
'anthropic:claude-3-opus-latest',
49-
'anthropic:claude-3-sonnet-20240229',
5047
'anthropic:claude-4-opus-20250514',
5148
'anthropic:claude-4-sonnet-20250514',
5249
'anthropic:claude-opus-4-0',
@@ -100,8 +97,6 @@
10097
'bedrock:mistral.mixtral-8x7b-instruct-v0:1',
10198
'bedrock:mistral.mistral-large-2402-v1:0',
10299
'bedrock:mistral.mistral-large-2407-v1:0',
103-
'claude-2.0',
104-
'claude-2.1',
105100
'claude-3-5-haiku-20241022',
106101
'claude-3-5-haiku-latest',
107102
'claude-3-5-sonnet-20240620',
@@ -112,7 +107,6 @@
112107
'claude-3-haiku-20240307',
113108
'claude-3-opus-20240229',
114109
'claude-3-opus-latest',
115-
'claude-3-sonnet-20240229',
116110
'claude-4-opus-20250514',
117111
'claude-4-sonnet-20250514',
118112
'claude-opus-4-0',

pydantic_ai_slim/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ openai = ["openai>=1.92.0"]
6666
cohere = ["cohere>=5.16.0; platform_system != 'Emscripten'"]
6767
vertexai = ["google-auth>=2.36.0", "requests>=2.32.2"]
6868
google = ["google-genai>=1.24.0"]
69-
anthropic = ["anthropic>=0.52.0"]
69+
anthropic = ["anthropic>=0.59.0"]
7070
groq = ["groq>=0.19.0"]
7171
mistral = ["mistralai>=1.9.2"]
7272
bedrock = ["boto3>=1.37.24"]

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)