[Frontend] Support min_p in the Responses API (#48084)

Signed-off-by: sungbin1015 <sbin@solbox.com>
Co-authored-by: Flora Feng <4florafeng@gmail.com>
This commit is contained in:
sungbin1015
2026-10-08 20:38:17 +00:00
committed by GitHub
co-authored by Flora Feng
parent c5c1161382
commit 2ddde19e8e
5 changed files with 27 additions and 8 deletions
-5
View File
@@ -2196,11 +2196,6 @@ async def main_async(args: argparse.Namespace) -> dict[str, Any]:
"Sampling parameters are only supported by openai-compatible backends."
)
# The Responses API accepts every sampling parameter above except
# min_p, which it would silently drop as an unknown field.
if args.backend == "openai-responses" and "min_p" in sampling_params:
raise ValueError("--min-p is not supported by the Responses API.")
if "temperature" not in sampling_params:
print(
"WARNING: vllm bench serve no longer sets temperature==0 (greedy) "