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
9da9208b
"vllm/v1/engine/input_processor.py" did not exist on "57430fc95c8a94a7c68b3d525e3b8823b0f2433f"
Unverified
Commit
9da9208b
authored
Nov 07, 2025
by
baonudesifeizhai
Committed by
GitHub
Nov 07, 2025
Browse files
[Bug] Fix missing token_ids for reasoning parser models in chat completions #28246 (#28256)
parent
11fd69dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vllm/entrypoints/openai/serving_chat.py
vllm/entrypoints/openai/serving_chat.py
+3
-0
No files found.
vllm/entrypoints/openai/serving_chat.py
View file @
9da9208b
...
@@ -1372,6 +1372,9 @@ class OpenAIServingChat(OpenAIServing):
...
@@ -1372,6 +1372,9 @@ class OpenAIServingChat(OpenAIServing):
else
"stop"
else
"stop"
),
),
stop_reason
=
output
.
stop_reason
,
stop_reason
=
output
.
stop_reason
,
token_ids
=
(
as_list
(
output
.
token_ids
)
if
request
.
return_token_ids
else
None
),
)
)
choices
.
append
(
choice_data
)
choices
.
append
(
choice_data
)
continue
continue
...
...
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