mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-27 08:27:55 +08:00
[Fix] DeepSeek V3.1 tool parser error message (#23492)
Signed-off-by: zitian.zhao <zitian.zhao@tencentmusic.com>
This commit is contained in:
parent
d765cf01fe
commit
2da02dd0d8
@ -64,8 +64,8 @@ class DeepSeekV31ToolParser(ToolParser):
|
|||||||
if (self.tool_calls_start_token_id is None
|
if (self.tool_calls_start_token_id is None
|
||||||
or self.tool_calls_end_token_id is None):
|
or self.tool_calls_end_token_id is None):
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
"DeepSeek-V3 Tool parser could not locate tool call start/end "
|
"DeepSeek-V3.1 Tool parser could not locate tool call "
|
||||||
"tokens in the tokenizer!")
|
"start/end tokens in the tokenizer!")
|
||||||
|
|
||||||
def extract_tool_calls(
|
def extract_tool_calls(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user