[Feature] Pydantic validation for scheduler.py and structured_outputs.py (#26519)

Signed-off-by: Vinay Damodaran <vrdn@hey.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Vinay R Damodaran
2025-10-31 18:05:50 +00:00
committed by GitHub
co-authored by Harry Mellor
parent 9e5bd3076e
commit 5e8862e9e0
4 changed files with 39 additions and 35 deletions
@@ -2,11 +2,12 @@
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
import json
import re
import uuid
from collections.abc import Sequence
from typing import Any
import regex as re
from vllm.entrypoints.openai.protocol import (
ChatCompletionRequest,
DeltaFunctionCall,