[Bugfix][Tool Parser] Use LongCat tags in the LongCat structural tag (#60747)

Signed-off-by: hpdkhoa <hpdkhoa2311@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Flora Feng <4florafeng@gmail.com>
This commit is contained in:
Kai Hoang
2026-10-08 21:20:54 -07:00
committed by GitHub
co-authored by Claude Opus 5.5 Flora Feng
parent 9824159d94
commit e31b823bf5
3 changed files with 94 additions and 27 deletions
+2
View File
@@ -9,6 +9,8 @@ from vllm.tool_parsers.hermes_tool_parser import Hermes2ProToolParser
class LongcatFlashToolParser(Hermes2ProToolParser):
structural_tag_model = "longcat"
def __init__(self, tokenizer: TokenizerLike, tools: list[Tool] | None = None):
super().__init__(tokenizer, tools)