diff --git a/llama.cpp b/llama.cpp index 7d978edf6..0cb34c2aa 100644 --- a/llama.cpp +++ b/llama.cpp @@ -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; }