Tools
Pydantic AI 2.42.0 adds a first-class provider for GitHub Copilot's OpenAI-compatible API
Released 2026-09-09T03:33Z, v2.42.0 introduces GitHubCopilotProvider (#8059), letting agents run against a Copilot subscription's OpenAI-compatible endpoint rather than a separate API key. The compatibility note is that DeferredToolResults.approvals now rejects invalid values instead of accepting them (#8081), so code passing malformed approval payloads that previously slid through will now raise. Other fixes preserve Anthropic recovery across normalized history and resolve non-object $ref definitions inline in code-mode function signatures.
Source
↳ Follow the thread