Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
2da02dd0
Unverified
Commit
2da02dd0
authored
Aug 25, 2025
by
ZiTian Zhao
Committed by
GitHub
Aug 25, 2025
Browse files
[Fix] DeepSeek V3.1 tool parser error message (#23492)
Signed-off-by:
zitian.zhao
<
zitian.zhao@tencentmusic.com
>
parent
d765cf01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/entrypoints/openai/tool_parsers/deepseekv31_tool_parser.py
...ntrypoints/openai/tool_parsers/deepseekv31_tool_parser.py
+2
-2
No files found.
vllm/entrypoints/openai/tool_parsers/deepseekv31_tool_parser.py
View file @
2da02dd0
...
@@ -64,8 +64,8 @@ class DeepSeekV31ToolParser(ToolParser):
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment