mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-14 00:45:36 +08:00
[Frontend] Fix logging format when enable response logging (#28049)
Signed-off-by: esmeetu <jasonailu87@gmail.com>
This commit is contained in:
parent
e52e4da971
commit
d1dd5f53e4
@ -1572,8 +1572,7 @@ def _log_streaming_response(response, response_body: list) -> None:
|
|||||||
full_content = full_content[:2048] + ""
|
full_content = full_content[:2048] + ""
|
||||||
"...[truncated]"
|
"...[truncated]"
|
||||||
logger.info(
|
logger.info(
|
||||||
"response_body={streaming_complete: "
|
"response_body={streaming_complete: content=%r, chunks=%d}",
|
||||||
"content='%s', chunks=%d}",
|
|
||||||
full_content,
|
full_content,
|
||||||
chunk_count,
|
chunk_count,
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user