diff --git a/vllm/config/structured_outputs.py b/vllm/config/structured_outputs.py index 1b32675c3dbd2..1672c1d7c9a09 100644 --- a/vllm/config/structured_outputs.py +++ b/vllm/config/structured_outputs.py @@ -28,8 +28,10 @@ class StructuredOutputsConfig: disable_fallback: bool = False """If `True`, vLLM will not fallback to a different backend on error.""" disable_any_whitespace: bool = False - """If `True`, the model will not generate any whitespace during structured - outputs. This is only supported for xgrammar and guidance backends.""" + """If `True`, json output will always be compact without any whitespace. + If `False`, the model may generate whitespace between JSON fields, + which is still valid JSON. This is only supported for xgrammar + and guidance backends.""" disable_additional_properties: bool = False """If `True`, the `guidance` backend will not use `additionalProperties` in the JSON schema. This is only supported for the `guidance` backend and