Skip to content

Commit 7c57cba

Browse files
matteoservangxson
andauthored
Update chat template
Co-authored-by: Xuan-Son Nguyen <[email protected]>
1 parent f981897 commit 7c57cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama-chat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ int32_t llm_chat_apply_template(
454454
ss << "<|" << role << "|>" << "\n" << message->content;
455455
}
456456
if (add_ass) {
457-
ss << "<|assistant|>" << "\n";
457+
ss << "<|assistant|>\n";
458458
}
459459
} else if (tmpl == LLM_CHAT_TEMPLATE_MINICPM) {
460460
// MiniCPM-3B-OpenHermes-2.5-v2-GGUF

0 commit comments

Comments
 (0)