[GPT-OSS] Strict tool call and constrained decoding for Harmony (#45560)
Signed-off-by: Yifan Zong <yzong@redhat.com>
This commit is contained in:
@@ -22,6 +22,8 @@ class GptOssToolParser(ToolParser):
|
||||
capability declaration via HarmonyParser.tool_parser_cls.
|
||||
"""
|
||||
|
||||
structural_tag_model = "harmony"
|
||||
|
||||
def __init__(self, tokenizer: "TokenizerLike", tools: list[Tool] | None = None):
|
||||
super().__init__(tokenizer, tools)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user