Skip to content

Commit 9e64c58

Browse files
author
xusenlin
committed
remove redundant punctuation
1 parent 2589c1e commit 9e64c58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/vllm_routes/chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ async def create_chat_completion(
205205
tool_calls=tool_calls,
206206
)
207207
else:
208-
message = ChatCompletionMessage(role="assistant", content=output.text)
208+
message = ChatCompletionMessage(role="assistant", content=output.text.strip())
209209

210210
choices.append(
211211
Choice(

0 commit comments

Comments
 (0)