From c0a8cfc2d4a5917f8adf1f0b91e2419391398e26 Mon Sep 17 00:00:00 2001 From: stevenkuang Date: Tue, 8 Jul 2025 23:15:16 +0800 Subject: [PATCH] model: fix hunyuan moe chat template 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 d05335a685b49..cbc19d3c40c30 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;