mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-09 20:28:42 +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] + ""
|
||||
"...[truncated]"
|
||||
logger.info(
|
||||
"response_body={streaming_complete: "
|
||||
"content='%s', chunks=%d}",
|
||||
"response_body={streaming_complete: content=%r, chunks=%d}",
|
||||
full_content,
|
||||
chunk_count,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user