pydantic-ai v2.21.0 adds token limit and refreshes model names
sdkaiengineerpython-agentic
feature patch
Pydantic-ai v2.21.0 introduces a `per_request_input_tokens_limit` parameter to `UsageLimits`, allowing finer control over request processing. The release also includes a bug fix to refresh `KnownModelName` using Gateway probes and stable Google image IDs. These updates are now available and primarily benefit developers building AI applications with pydantic-ai.
- →feat(usage): add per_request_input_tokens_limit to UsageLimits by @Oxygen56 in https://github.com/pydantic/pydantic-ai/pull/5907
- →Refresh KnownModelName from Gateway probes and stable Google image IDs by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/6806
Features (1) ›
- feat(usage): add per_request_input_tokens_limit to UsageLimits by @Oxygen56 in https://github.com/pydantic/pydantic-ai/pull/5907
Fixes (1) ›
- Refresh KnownModelName from Gateway probes and stable Google image IDs by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/6806
Read the original announcement →
https://github.com/pydantic/pydantic-ai/releases/tag/v2.21.0
Related releases
- Pydantic-AI v2.43.0 Enhances CLI Experience and Fixes OpenAI Chat Model Behavior Pydantic AI Releases ·
- ADK-Python v2.9.0 enhances agent resilience, voice integration, and workflow management Google ADK (Python) Releases ·
- CrewAI 1.15.21 Release Introduces Telemetry and Resolves Multiple Bugs CrewAI Releases ·
- OpenAI Python Agents SDK v0.22.2 Released OpenAI Agents SDK (Python) Releases ·
- Pydantic-AI v2.42.0 Enhances GitHub Copilot Integration and Fixes Bugs Pydantic AI Releases ·
- OpenAI Agents Python SDK v0.22.1 enhances tools, guardrails, and voice features OpenAI Agents SDK (Python) Releases ·