From 3222b4b8e55a81e55c6b60cf2f49295e5a7ac867 Mon Sep 17 00:00:00 2001 From: ngxson Date: Wed, 24 Apr 2024 18:06:41 +0200 Subject: [PATCH] add guide for adding template --- llama.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llama.cpp b/llama.cpp index a42235234..185bbcfd3 100644 --- a/llama.cpp +++ b/llama.cpp @@ -17185,6 +17185,7 @@ LLAMA_API int32_t llama_chat_get_prefix( return output; }; // ttmpl means "typed template" + // before adding a new template, please see the guide here: https://github.com/ggerganov/llama.cpp/wiki/Templates-supported-by-llama_chat_apply_template#how-to-add-a-new-template switch (ttmpl) { case LLAMA_CHAT_TEMPLATE_NOT_SUPPORTED: return -1;