diff --git a/vllm/model_executor/guided_decoding/__init__.py b/vllm/model_executor/guided_decoding/__init__.py index ca18a6ff06a41..e631aec928ec5 100644 --- a/vllm/model_executor/guided_decoding/__init__.py +++ b/vllm/model_executor/guided_decoding/__init__.py @@ -22,10 +22,6 @@ def check_object(obj: dict) -> bool: if not isinstance(obj, dict): return False - # Check for $ref and $defs (schema references) - if "$ref" in obj or "$defs" in obj: - return True - # Check for pattern restrictions if "pattern" in obj: return True