[Fix] DeepSeek V3.1 tool parser error message (#23492)

Signed-off-by: zitian.zhao <zitian.zhao@tencentmusic.com>
This commit is contained in:
ZiTian Zhao
2025-08-25 15:56:39 +08:00
committed by GitHub
parent d765cf01fe
commit 2da02dd0d8

View File

@ -64,8 +64,8 @@ class DeepSeekV31ToolParser(ToolParser):
if (self.tool_calls_start_token_id is None
or self.tool_calls_end_token_id is None):
raise RuntimeError(
"DeepSeek-V3 Tool parser could not locate tool call start/end "
"tokens in the tokenizer!")
"DeepSeek-V3.1 Tool parser could not locate tool call "
"start/end tokens in the tokenizer!")
def extract_tool_calls(
self,