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
6211b922
Unverified
Commit
6211b922
authored
Apr 18, 2025
by
Robin
Committed by
GitHub
Apr 17, 2025
Browse files
[Bugfix]Fix index out of range error in api server log (#16787)
Signed-off-by:
WangErXiao
<
863579016@qq.com
>
parent
05fcd1b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/entrypoints/openai/api_server.py
vllm/entrypoints/openai/api_server.py
+2
-1
No files found.
vllm/entrypoints/openai/api_server.py
View file @
6211b922
...
@@ -881,7 +881,8 @@ def build_app(args: Namespace) -> FastAPI:
...
@@ -881,7 +881,8 @@ def build_app(args: Namespace) -> FastAPI:
section
async
for
section
in
response
.
body_iterator
section
async
for
section
in
response
.
body_iterator
]
]
response
.
body_iterator
=
iterate_in_threadpool
(
iter
(
response_body
))
response
.
body_iterator
=
iterate_in_threadpool
(
iter
(
response_body
))
logger
.
info
(
"response_body={%s}"
,
response_body
[
0
].
decode
())
logger
.
info
(
"response_body={%s}"
,
response_body
[
0
].
decode
()
if
response_body
else
None
)
return
response
return
response
for
middleware
in
args
.
middleware
:
for
middleware
in
args
.
middleware
:
...
...
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