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:16 +02:00 committed by GitHub
parent 24874e7323
commit 70eb88c842
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17021,7 +17021,7 @@ static int32_t llama_chat_apply_template_internal(
bool first_message = true; // add BOS at the beginning
for (auto message : chat) {
std::string role(message->role);
if(first_message){
if (first_message) {
ss << "<|begin_of_text|>";
first_message = false;
}