@@ -328,7 +328,7 @@ int main(void) {
328328 // test llama_chat_format_single for system message
329329 printf (" \n\n === llama_chat_format_single (system message) ===\n\n " );
330330 std::vector<common_chat_msg> chat2;
331- common_chat_msg sys_msg{" system" , " You are a helpful assistant" };
331+ common_chat_msg sys_msg{" system" , " You are a helpful assistant" , {} };
332332
333333 auto fmt_sys = [&](std::string tmpl_str) {
334334 minja::chat_template tmpl (tmpl_str, " " , " " );
@@ -352,10 +352,10 @@ int main(void) {
352352
353353 // test llama_chat_format_single for user message
354354 printf (" \n\n === llama_chat_format_single (user message) ===\n\n " );
355- chat2.push_back ({" system" , " You are a helpful assistant" });
356- chat2.push_back ({" user" , " Hello" });
357- chat2.push_back ({" assistant" , " I am assistant" });
358- common_chat_msg new_msg{" user" , " How are you" };
355+ chat2.push_back ({" system" , " You are a helpful assistant" , {} });
356+ chat2.push_back ({" user" , " Hello" , {} });
357+ chat2.push_back ({" assistant" , " I am assistant" , {} });
358+ common_chat_msg new_msg{" user" , " How are you" , {} };
359359
360360 auto fmt_single = [&](std::string tmpl_str) {
361361 minja::chat_template tmpl (tmpl_str, " " , " " );
0 commit comments