Skip to content

pydantic-ai

v2.1.1 Feature

This release adds 1 notable feature for engineering teams evaluating rollout.

βœ“ No known CVEs patched
Read the diff β†’ Tool health β†’ What is this tool? β†’

✓ No known CVEs patched in this version

Topics

agent-framework genai llm pydantic python

Summary

AI summary

Updates πŸ› Bug Fixes, πŸ“– Documentation, and feat across a mixed release.

Full changelog

What's Changed

πŸ“– Documentation

  • feat: add TwelveLabs Pegasus video-understanding example by @mohit-twelvelabs in https://github.com/pydantic/pydantic-ai/pull/6061

πŸ› Bug Fixes

  • Forward image detail from vendor_metadata for GroqModel and MistralModel by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/6014
  • fix(utils): run sync callbacks inline on Pyodide/emscripten by default by @syf2211 in https://github.com/pydantic/pydantic-ai/pull/6088
  • Fix group_by_temporal emitting first item alone when delayed past soft_max_interval by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/5947
  • Fix missing output_audio_tokens in usage accumulation by @jnMetaCode in https://github.com/pydantic/pydantic-ai/pull/4594
  • fix(heroku): route model names through family profiles so thinking isn't dropped by @Bartok9 in https://github.com/pydantic/pydantic-ai/pull/6070
  • Guard TogetherProvider.model_profile against model names without a / by @immuhammadfurqan in https://github.com/pydantic/pydantic-ai/pull/6113
  • fix(GoogleModel): include CodeExecutionTool in include_server_side_tool_invocations check by @aarsh767 in https://github.com/pydantic/pydantic-ai/pull/6052
  • fix(groq): surface reasoning_tokens in usage details by @tcconnally in https://github.com/pydantic/pydantic-ai/pull/5986

New Contributors

  • @Iam-Mil made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6132
  • @jnMetaCode made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4594
  • @mohit-twelvelabs made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6061
  • @immuhammadfurqan made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6113
  • @aarsh767 made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6052
  • @tcconnally made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5986

Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v2.1.0...v2.1.1

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track pydantic-ai

Get notified when new releases ship.

Sign up free

About pydantic-ai

AI Agent Framework, the Pydantic way

All releases β†’

Related context

Earlier breaking changes

  • v1.95.0 rename β€˜built-in tools’ to β€˜native tools’, deprecate old fields, register via capabilities=[NativeTool(...)]

Beta — feedback welcome: [email protected]