Small change to \n

Small change to \n
This commit is contained in:
arch-btw 2024-10-26 18:09:23 -07:00 committed by GitHub
parent 3cca307ea6
commit 60ed87077d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21717,7 +21717,7 @@ static int32_t llama_chat_apply_template_internal(
// IBM Granite template
for (const auto& message : chat) {
std::string role(message->role);
ss << "<|start_of_role|>" << role << "<|end_of_role|>\n"
ss << "<|start_of_role|>" << role << "<|end_of_role|>"
<< message->content << "<|end_of_text|>\n";
}
if (add_ass) {