make json_schema usable from gen (#1254)

This commit is contained in:
Enrique Shockwave
2024-08-29 02:57:10 +01:00
committed by GitHub
parent 13ac95b894
commit 6c34d6339c
3 changed files with 8 additions and 0 deletions

View File

@@ -673,6 +673,7 @@ class StreamExecutor:
"return_text_in_logprobs",
"dtype",
"regex",
"json_schema",
]:
value = getattr(sampling_params, item, None)
if value is not None: