[GPT-OSS] Strict tool call and constrained decoding for Harmony (#45560)
Signed-off-by: Yifan Zong <yzong@redhat.com>
This commit is contained in:
@@ -33,7 +33,7 @@ from vllm.tool_parsers.structural_tag_registry import (
|
||||
SUPPORTED_STRUCTURAL_TAG_MODELS,
|
||||
VLLM_BUILTIN_STRUCTURAL_TAG_MODELS,
|
||||
XGRAMMAR_BUILTIN_STRUCTURAL_TAG_MODELS,
|
||||
_get_function_parameters,
|
||||
get_function_parameters,
|
||||
get_model_structural_tag,
|
||||
)
|
||||
|
||||
@@ -530,7 +530,7 @@ def test_get_function_parameters_relaxes_function_strict_false():
|
||||
strict=False,
|
||||
)
|
||||
|
||||
assert _get_function_parameters(function) is True
|
||||
assert get_function_parameters(function) is True
|
||||
|
||||
|
||||
def _k3_tools_with_root_defs() -> list[ChatCompletionToolsParam]:
|
||||
|
||||
Reference in New Issue
Block a user