Skip to content

fix(pydantic-ai): Only use hooks when ModelRequestContext.model exists#6480

Merged
alexander-alderman-webb merged 8 commits into
masterfrom
webb/pydantic-ai/hooks-version-gate
Jun 2, 2026
Merged

fix(pydantic-ai): Only use hooks when ModelRequestContext.model exists#6480
alexander-alderman-webb merged 8 commits into
masterfrom
webb/pydantic-ai/hooks-version-gate

fix(pydantic-ai): Only use hooks when ModelRequestContext.model is av…

825ebeb
Select commit
Loading
Failed to load commit list.
Cursor / Cursor Bugbot completed Jun 2, 2026 in 6m 51s

Bugbot Review

Bugbot Analysis Progress (6m 56s elapsed)

✅ Gathered PR context (3s)
✅ Completed bug detection (6m 48s)
✅ Posted analysis results (4s)

Final Result: Bugbot completed review and found 1 potential issue.

Request ID: serverGenReqId_26fbed07-1972-4af3-9682-afa1cfcc03d4

Details

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 825ebeb. Configure here.