]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
server : add newline after chat example (#9616)
authorStrangeBytesDev <redacted>
Tue, 24 Sep 2024 06:04:39 +0000 (23:04 -0700)
committerGitHub <redacted>
Tue, 24 Sep 2024 06:04:39 +0000 (09:04 +0300)
examples/server/server.cpp

index 8655c097aa51b1477da22b2e4cde9d8cbccf9b78..e5275a5149551d414ec2d692a881631f2c066161 100644 (file)
@@ -3179,7 +3179,7 @@ int main(int argc, char ** argv) {
     }
 
     // print sample chat example to make it clear which template is used
-    LOG_INF("%s: chat template, built_in: %d, chat_example: '%s\n'", __func__, params.chat_template.empty(), llama_chat_format_example(ctx_server.model, params.chat_template).c_str());
+    LOG_INF("%s: chat template, built_in: %d, chat_example: '%s'\n", __func__, params.chat_template.empty(), llama_chat_format_example(ctx_server.model, params.chat_template).c_str());
 
     ctx_server.queue_tasks.on_new_task(std::bind(
                 &server_context::process_single_task, &ctx_server, std::placeholders::_1));