Skip to content

fix: suppress pydantic serializer warnings - #4291

Merged
seratch merged 1 commit into
mainfrom
fix/pydantic-serializer-warning
Aug 7, 2026
Merged

fix: suppress pydantic serializer warnings#4291
seratch merged 1 commit into
mainfrom
fix/pydantic-serializer-warning

Conversation

@seratch

@seratch seratch commented Aug 7, 2026

Copy link
Copy Markdown
Member

This pull request fixes spurious Pydantic serializer warnings when forward-compatible Responses API web-search source shapes pass through tool-invocation lookup. It suppresses warnings only for Pydantic BaseModel serialization while preserving the existing arguments and exception behavior of custom model_dump-compatible objects. Regression coverage includes type="api" sources, legacy custom signatures, and internal TypeError propagation.

@seratch seratch added this to the 0.20.x milestone Aug 7, 2026
@seratch
seratch merged commit ae84ca1 into main Aug 7, 2026
10 checks passed
@seratch
seratch deleted the fix/pydantic-serializer-warning branch August 7, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant