[V1][Structured Output] Add supports_structured_output() method to Platform (#16148)

Signed-off-by: shen-shanshan <467638484@qq.com>
This commit is contained in:
Shanshan Shen
2025-04-07 19:06:24 +08:00
committed by GitHub
parent 7c80368710
commit e9ba99f296
9 changed files with 41 additions and 3 deletions

View File

@@ -140,3 +140,7 @@ class XPUPlatform(Platform):
@classmethod
def get_device_communicator_cls(cls) -> str:
return "vllm.distributed.device_communicators.xpu_communicator.XpuCommunicator" # noqa
@classmethod
def supports_structured_output(cls) -> bool:
return True