[Doc] Update description disable_any_whitespace (#29784)

Signed-off-by: Frederic Odermatt <frederic.odermatt@44ai.ch>
This commit is contained in:
FredericOdermatt 2025-12-01 17:48:33 +01:00 committed by GitHub
parent 37593deb02
commit 5d43f7372e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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