From 699f4392a33f57c3352cf8d60bdc53db7ca235e7 Mon Sep 17 00:00:00 2001 From: stevenkuang Date: Wed, 9 Jul 2025 00:29:29 +0800 Subject: [PATCH] model : fix hunyuan moe chat template (#14584) Signed-off-by: stevenkuang --- src/llama-chat.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/llama-chat.cpp b/src/llama-chat.cpp index d05335a685..cbc19d3c40 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;