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
552b2629
Unverified
Commit
552b2629
authored
Jan 14, 2026
by
Ning Xie
Committed by
GitHub
Jan 14, 2026
Browse files
rename tokenize serving api request id prefix to tokenize (#32328)
Signed-off-by:
Andy Xie
<
andy.xning@gmail.com
>
parent
00e6402d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
vllm/entrypoints/serve/tokenize/protocol.py
vllm/entrypoints/serve/tokenize/protocol.py
+2
-2
vllm/entrypoints/serve/tokenize/serving.py
vllm/entrypoints/serve/tokenize/serving.py
+2
-2
No files found.
vllm/entrypoints/serve/tokenize/protocol.py
View file @
552b2629
...
...
@@ -92,11 +92,11 @@ class TokenizeChatRequest(OpenAIBaseModel):
)
mm_processor_kwargs
:
dict
[
str
,
Any
]
|
None
=
Field
(
default
=
None
,
description
=
(
"Additional kwargs to pass to the HF processor."
)
,
description
=
"Additional kwargs to pass to the HF processor."
,
)
tools
:
list
[
ChatCompletionToolsParam
]
|
None
=
Field
(
default
=
None
,
description
=
(
"A list of tools the model may call."
)
,
description
=
"A list of tools the model may call."
,
)
@
model_validator
(
mode
=
"before"
)
...
...
vllm/entrypoints/serve/tokenize/serving.py
View file @
552b2629
...
...
@@ -62,7 +62,7 @@ class OpenAIServingTokenization(OpenAIServing):
if
error_check_ret
is
not
None
:
return
error_check_ret
request_id
=
f
"tok
n
-
{
self
.
_base_request_id
(
raw_request
)
}
"
request_id
=
f
"tok
enize
-
{
self
.
_base_request_id
(
raw_request
)
}
"
try
:
lora_request
=
self
.
_maybe_get_adapters
(
request
)
...
...
@@ -134,7 +134,7 @@ class OpenAIServingTokenization(OpenAIServing):
if
error_check_ret
is
not
None
:
return
error_check_ret
request_id
=
f
"tok
n
-
{
self
.
_base_request_id
(
raw_request
)
}
"
request_id
=
f
"tok
enize
-
{
self
.
_base_request_id
(
raw_request
)
}
"
lora_request
=
self
.
_maybe_get_adapters
(
request
)
...
...
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