python Pydantic AI Releases · · 2.35.2

pydantic-ai v2.35.2 Patches GLM Routing and Tooling Issues

sdkaiengineerpython-agentic
patch

Pydantic-ai v2.35.2 has been released, focusing on critical bug fixes. This patch addresses an issue with routing Heroku GLM models and ensures that safe_download cookies are properly scoped to original hostnames. It also resolves problems with `DeferredToolRequests` resolving cross-category result IDs and identifies rejected runtime toolsets in durable execution errors, enhancing the reliability of the library.

  • Route Heroku GLM models through zai_model_profile by @LHMQ878 in https://github.com/pydantic/pydantic-ai/pull/6837
  • Scope safe_download cookies to original hostnames by @Diwak4r in https://github.com/pydantic/pydantic-ai/pull/7077
  • Fix DeferredToolRequests.remaining resolving cross-category result IDs by @pydanty in https://github.com/pydantic/pydantic-ai/pull/7626
  • Identify rejected runtime toolsets in durable execution errors by @pydanty in https://github.com/pydantic/pydantic-ai/pull/6784
Fixes (5)
  • Route Heroku GLM models through zai_model_profile by @LHMQ878 in https://github.com/pydantic/pydantic-ai/pull/6837
  • Scope safe_download cookies to original hostnames by @Diwak4r in https://github.com/pydantic/pydantic-ai/pull/7077
  • Fix DeferredToolRequests.remaining resolving cross-category result IDs by @pydanty in https://github.com/pydantic/pydantic-ai/pull/7626
  • Identify rejected runtime toolsets in durable execution errors by @pydanty in https://github.com/pydantic/pydantic-ai/pull/6784
  • Un-cap the dbos extra; add opentelemetry-instrumentation-logging as a test dependency instead by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/7820

Read the original announcement →

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

Related releases