Daily News
· 1 min read
Pydantic AI Updates: July 3, 2026
1. Pydantic AI Ships v2.4.0 with New Agent Evaluators and File Upload Controls
Pydantic AI. Pydantic AI released v2.4.0, which splits the previous preserve_file_data setting into a distinct allow_uploaded_files control so inbound file security is separated from representation options. The release adds a GEval evaluator with quality-metric rubrics for LLMJudge, plus span-based agentic evaluators including ToolCorrectness, TrajectoryMatch, ArgumentCorrectness, MaxToolCalls, and MaxModelRequests, and it forwards user location data to xAI web search. Bug fixes cover XSearchTool limit handling, Mistral extended usage field preservation, keyboard interrupt cleanup in synchronous wrappers, and Temporal workflow cost calculation. Source