Skip to content

Refuse discarded PydanticAI execution state and support 2.40 - #102

Merged
WaseemGhanem98 merged 1 commit into
mainfrom
fix/pydantic-ai-240-compatibility-20260909
Sep 9, 2026
Merged

WaseemGhanem98 merged 1 commit into
mainfrom
fix/pydantic-ai-240-compatibility-20260909

Conversation

@WaseemGhanem98

Copy link
Copy Markdown
Owner

PydanticAI execution configuration could be silently discarded during sanitized reconstruction: active retry overrides became defaults, and SDK 2.40 agent event hooks were omitted. Preflight now refuses active or unknown root/retry override state and registered or unknown event-hook state, while retaining ordinary inactive defaults and restored contexts.

Extends the verified PydanticAI range through 2.40 and prepares 0.5.10. Generator compatibility remains 4. Installed-artifact probes require the specific refusal codes alongside literal reconstruction and gateway isolation.

Validation: focused no-override adapter, dependency, delegation, example and helper controls passed on 2.32.2, 2.36.0, and each 2.37.0–2.40.0; expected wrapper/event API skips apply on older SDKs. Ruff, mypy, and version checks passed. Independent pinned-source assessment identified the corrected boundaries. Final exact-commit independent review, hosted CI and archive qualification are pending.

@WaseemGhanem98
WaseemGhanem98 merged commit 0c3d4e1 into main Sep 9, 2026
7 checks passed
@WaseemGhanem98
WaseemGhanem98 deleted the fix/pydantic-ai-240-compatibility-20260909 branch September 9, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant