Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Zifei Tong <zifeitong@gmail.com>
  • Loading branch information
zifeitong committed Feb 7, 2025
1 parent b289723 commit 9a28ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/transformers_utils/tokenizers/mistral.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def apply_chat_template(self,
if message.get("role") == "assistant":
content = message.get("content")
if isinstance(content, list):
content = "".join([chunk.get("text") for chunk in content])
content = "\n".join([chunk.get("text") for chunk in content])
message["content"] = content
request = ChatCompletionRequest(messages=messages,
tools=tools) # type: ignore[type-var]
Expand Down

0 comments on commit 9a28ab4

Please # to comment.