pydantic-ai-slim 0.2.7__py3-none-any.whl → 0.2.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -255,7 +255,7 @@ class AnthropicModel(Model):
255
255
  if isinstance(item, BetaTextBlock):
256
256
  items.append(TextPart(content=item.text))
257
257
  else:
258
- assert isinstance(item, BetaToolUseBlock), 'unexpected item type'
258
+ assert isinstance(item, BetaToolUseBlock), f'unexpected item type {type(item)}'
259
259
  items.append(
260
260
  ToolCallPart(
261
261
  tool_name=item.name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pydantic-ai-slim
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary: Agent Framework / shim to use Pydantic with LLMs, slim package
5
5
  Author-email: Samuel Colvin <samuel@pydantic.dev>, Marcelo Trylesinski <marcelotryle@gmail.com>, David Montague <david@pydantic.dev>, Alex Hall <alex@pydantic.dev>
6
6
  License-Expression: MIT
@@ -30,11 +30,11 @@ Requires-Dist: exceptiongroup; python_version < '3.11'
30
30
  Requires-Dist: griffe>=1.3.2
31
31
  Requires-Dist: httpx>=0.27
32
32
  Requires-Dist: opentelemetry-api>=1.28.0
33
- Requires-Dist: pydantic-graph==0.2.7
33
+ Requires-Dist: pydantic-graph==0.2.8
34
34
  Requires-Dist: pydantic>=2.10
35
35
  Requires-Dist: typing-inspection>=0.4.0
36
36
  Provides-Extra: a2a
37
- Requires-Dist: fasta2a==0.2.7; extra == 'a2a'
37
+ Requires-Dist: fasta2a==0.2.8; extra == 'a2a'
38
38
  Provides-Extra: anthropic
39
39
  Requires-Dist: anthropic>=0.49.0; extra == 'anthropic'
40
40
  Provides-Extra: bedrock
@@ -48,7 +48,7 @@ Requires-Dist: cohere>=5.13.11; (platform_system != 'Emscripten') and extra == '
48
48
  Provides-Extra: duckduckgo
49
49
  Requires-Dist: duckduckgo-search>=7.0.0; extra == 'duckduckgo'
50
50
  Provides-Extra: evals
51
- Requires-Dist: pydantic-evals==0.2.7; extra == 'evals'
51
+ Requires-Dist: pydantic-evals==0.2.8; extra == 'evals'
52
52
  Provides-Extra: google
53
53
  Requires-Dist: google-genai>=1.15.0; extra == 'google'
54
54
  Provides-Extra: groq
@@ -26,7 +26,7 @@ pydantic_ai/common_tools/duckduckgo.py,sha256=Ty9tu1rCwMfGKgz1JAaC2q_4esmL6QvpkH
26
26
  pydantic_ai/common_tools/tavily.py,sha256=Q1xxSF5HtXAaZ10Pp-OaDOHXwJf2mco9wScGEQXD7E4,2495
27
27
  pydantic_ai/models/__init__.py,sha256=xTCjoFWQg6zZTY3yI-rakOd3RjUAf3uUGrzWn7Oxebw,22299
28
28
  pydantic_ai/models/_json_schema.py,sha256=RD0cIU9mOGIdRuhkjLtPdlwfmF8XDOP1kLevIOLudaE,6540
29
- pydantic_ai/models/anthropic.py,sha256=JNcOxVFLDbTvXREXmn43hZvsog70ZBr8IaML1dMbz6U,20959
29
+ pydantic_ai/models/anthropic.py,sha256=oyYJ8Eg-wllap_ckcCiKgDPW1CVNs5VmGo7v1LxO5_g,20973
30
30
  pydantic_ai/models/bedrock.py,sha256=mv-NFtnbaXS4NyGgLjExItrD6Hcu-8gHh1wVu2a-gZQ,26369
31
31
  pydantic_ai/models/cohere.py,sha256=a9dxjrH5StfvPP5CTituQsOhujO2KPHD6JOGpsx1E9o,11852
32
32
  pydantic_ai/models/fallback.py,sha256=idOYGMo3CZzpCBT8DDiuPAAgnV2jzluDUq3ESb3KteM,4981
@@ -52,8 +52,8 @@ pydantic_ai/providers/groq.py,sha256=DoY6qkfhuemuKB5JXhUkqG-3t1HQkxwSXoE_kHQIAK0
52
52
  pydantic_ai/providers/mistral.py,sha256=FAS7yKn26yWy7LTmEiBSvqe0HpTXi8_nIf824vE6RFQ,2892
53
53
  pydantic_ai/providers/openai.py,sha256=ePF-QWwLkGkSE5w245gTTDVR3VoTIUqFoIhQ0TAoUiA,2866
54
54
  pydantic_ai/providers/openrouter.py,sha256=ZwlpGjrHFqZefohdGJGL6MQiLOGKwu6kOCHziymJA_E,2215
55
- pydantic_ai_slim-0.2.7.dist-info/METADATA,sha256=u-vy47xZxJOfYOzsobQAQUJD-Jy4Pay9EAspK4fCrVc,3846
56
- pydantic_ai_slim-0.2.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
57
- pydantic_ai_slim-0.2.7.dist-info/entry_points.txt,sha256=kbKxe2VtDCYS06hsI7P3uZGxcVC08-FPt1rxeiMpIps,50
58
- pydantic_ai_slim-0.2.7.dist-info/licenses/LICENSE,sha256=vA6Jc482lEyBBuGUfD1pYx-cM7jxvLYOxPidZ30t_PQ,1100
59
- pydantic_ai_slim-0.2.7.dist-info/RECORD,,
55
+ pydantic_ai_slim-0.2.8.dist-info/METADATA,sha256=kUj5-FD5LHFToM7D5OuHovcdYyLCbXWHIk8m1XvOL4Y,3846
56
+ pydantic_ai_slim-0.2.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
57
+ pydantic_ai_slim-0.2.8.dist-info/entry_points.txt,sha256=kbKxe2VtDCYS06hsI7P3uZGxcVC08-FPt1rxeiMpIps,50
58
+ pydantic_ai_slim-0.2.8.dist-info/licenses/LICENSE,sha256=vA6Jc482lEyBBuGUfD1pYx-cM7jxvLYOxPidZ30t_PQ,1100
59
+ pydantic_ai_slim-0.2.8.dist-info/RECORD,,