Pydantic AI Updates: September 9, 2026
1. Pydantic AI v2.42.0 Adds a GitHub Copilot Provider
Pydantic AI. The release ships GitHubCopilotProvider, which targets GitHub Copilot’s OpenAI-compatible API and lets developers drive agents through an existing Copilot subscription rather than a separate API key. It follows the openai-codex provider added in v2.41.0 the day before, continuing a pattern of routing Pydantic AI through subscription-based coding assistants instead of pay-per-token endpoints. The rest of the release is correctness work: anthropic_disallows_sampling_settings is now handled properly in BedrockConverseModel, non-object $ref definitions are resolved inline in code-mode function signatures, ToolReturnContent validation no longer makes a Python call per JSON node, and Anthropic recovery state is preserved across normalized history. Source