tool call error in sglang

#2
by eva20150932-atlascloud - opened

--tool-call-parser hunyuan --reasoning-parser hunyuan supports <tool_calls> for hy3-preview, doesn't support <tool_calls:opensource> for hy3

Could you try the latest code or the lmsysorg/sglang:dev image?

https://github.com/sgl-project/sglang/blob/e552f6ed75b41be838444d96319231888b4446bb/python/sglang/srt/function_call/hunyuan_detector.py#L61
in main branch for now I still see self.bot_token = "<tool_calls>" and self.tool_call_start_token = "<tool_call>"
could you tell which commit has fixed the problem?

You can check if this commit is included: https://github.com/sgl-project/sglang/pull/29920

Sign up or log in to comment