Update llama.cpp

Co-authored-by: Samuel Tallet <36248671+SamuelTallet@users.noreply.github.com>
This commit is contained in:
Wouter 2024-04-19 00:27:03 +02:00 committed by GitHub
parent 1f7945f61f
commit 24874e7323
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17025,7 +17025,7 @@ static int32_t llama_chat_apply_template_internal(
ss << "<|begin_of_text|>";
first_message = false;
}
ss << "<|start_header_id|>" << message->role << "<|end_header_id|>\n\n" << trim(message->content) << "<|eot_id|>";
ss << "<|start_header_id|>" << role << "<|end_header_id|>\n\n" << trim(message->content) << "<|eot_id|>";
}
if (add_ass) {
ss << "<|start_header_id|>assistant<|end_header_id|>\n\n";