From: stevenkuang Date: Tue, 8 Jul 2025 16:29:29 +0000 (+0800) Subject: model : fix hunyuan moe chat template (#14584) X-Git-Tag: upstream/0.0.5882~34 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=699f4392a33f57c3352cf8d60bdc53db7ca235e7;p=pkg%2Fggml%2Fsources%2Fllama.cpp model : fix hunyuan moe chat template (#14584) Signed-off-by: stevenkuang --- diff --git a/src/llama-chat.cpp b/src/llama-chat.cpp index d05335a6..cbc19d3c 100644 --- a/src/llama-chat.cpp +++ b/src/llama-chat.cpp @@ -680,9 +680,6 @@ int32_t llm_chat_apply_template( ss << "<|startoftext|>" << message->content << "<|extra_0|>"; } } - if (add_ass) { - ss << "<|startoftext|>"; - } } else { // template not supported return -1;