We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
claude-haiku-4-5
1 parent 097a2d2 commit 302fad5Copy full SHA for 302fad5
pydantic_ai_slim/pydantic_ai/profiles/anthropic.py
@@ -8,7 +8,12 @@
8
9
def anthropic_model_profile(model_name: str) -> ModelProfile | None:
10
"""Get the model profile for an Anthropic model."""
11
- models_that_support_json_schema_output = ('claude-sonnet-4-5', 'claude-opus-4-1', 'claude-opus-4-5')
+ models_that_support_json_schema_output = (
12
+ 'claude-haiku-4-5',
13
+ 'claude-sonnet-4-5',
14
+ 'claude-opus-4-1',
15
+ 'claude-opus-4-5',
16
+ )
17
"""These models support both structured outputs and strict tool calling."""
18
# TODO update when new models are released that support structured outputs
19
# https://docs.claude.com/en/docs/build-with-claude/structured-outputs#example-usage
0 commit comments