python Pydantic AI Releases · · 2.43.0

Pydantic-AI v2.43.0 Enhances CLI Experience and Fixes OpenAI Chat Model Behavior

sdkaigaengineerpython-agentic
feature patch

Pydantic-AI v2.43.0 has been released, introducing a new first-run banner for `clai` sessions to describe the current run. This version also includes crucial bug fixes for the `OpenAIChatModel`, ensuring text part boundaries are preserved after tool calls. Additionally, a fix addresses temporal tool opt-out checks, improving overall stability. These updates enhance the command-line interface usability and the reliability of AI model interactions for developers.

  • Add a first-run banner describing the run, and open clai sessions with it by @DouweM in https://github.com/pydantic/pydantic-ai/pull/7447
  • Preserve text part boundaries after tool calls in OpenAIChatModel by @KaranJayakumar in https://github.com/pydantic/pydantic-ai/pull/8235
Features (1)
  • Add a first-run banner describing the run, and open clai sessions with it by @DouweM in https://github.com/pydantic/pydantic-ai/pull/7447
Fixes (2)
  • Preserve text part boundaries after tool calls in OpenAIChatModel by @KaranJayakumar in https://github.com/pydantic/pydantic-ai/pull/8235
  • fix(temporal): key tool opt-out checks on operation kind, not an MCP import by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/8257

Read the original announcement →

https://github.com/pydantic/pydantic-ai/releases/tag/v2.43.0

Related releases