[BugFix] Fix engine crash caused by chat tools + response_format (#32127)

Signed-off-by: Nick Hill <nickhill123@gmail.com>
This commit is contained in:
Nick Hill
2026-01-12 18:33:14 -08:00
committed by GitHub
parent 9273a427b5
commit c6bb5b5603
3 changed files with 47 additions and 0 deletions

View File

@@ -370,6 +370,10 @@ class InputProcessor:
# Remember that this backend was set automatically
params.structured_outputs._backend_was_auto = True
# Run post-init validation. This is also important to ensure subsequent
# roundtrip serialization/deserialization won't fail.
params.structured_outputs.__post_init__()
def _maybe_build_mm_uuids(
self,
request_id: str,