Tools
pydantic-ai 2.37.0 adds glm-5.3-flash and maps Z.AI's non-standard finish_reason values
Released 2026-09-01, v2.37.0 adds the glm-5.3-flash model and reworks the Z.AI test suite onto cassettes (#7887), plus accepts and maps Z.AI's non-standard finish_reason values (#7685) that would otherwise fall through. Several durable-execution fixes land together: models rebuilt inside durable operations are now context-managed (#7954), unmanaged models stop being rebuilt in durable capability operations (#7972), and per-run `capabilities=` is rejected on DBOS to match Temporal's behavior (#6955). GoogleModel now routes Vertex-versus-Gemini API branches by client transport instead of provider name (#7280).
Source
↳ Follow the thread