File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -193,11 +193,11 @@ llm_chat_template llm_chat_detect_template(const std::string & tmpl) {
193
193
return LLM_CHAT_TEMPLATE_LLAMA4;
194
194
} else if (tmpl_contains (" <|endofuserprompt|>" )) {
195
195
return LLM_CHAT_TEMPLATE_DOTS1;
196
- } else if (tmpl_contains (" <|startoftext |>" ) && tmpl_contains (" <|extra_4|>" )) {
196
+ } else if (tmpl_contains (" <|extra_0 |>" ) && tmpl_contains (" <|extra_4|>" )) {
197
197
return LLM_CHAT_TEMPLATE_HUNYUAN_MOE;
198
198
} else if (tmpl_contains (" <|start|>" ) && tmpl_contains (" <|channel|>" )) {
199
199
return LLM_CHAT_TEMPLATE_OPENAI_MOE;
200
- } else if (tmpl_contains (" <|hy_place▁holder▁no▁2 |>" ) && tmpl_contains (" <|hy_place▁holder▁no▁3|>" )) {
200
+ } else if (tmpl_contains (" <|hy_Assistant |>" ) && tmpl_contains (" <|hy_place▁holder▁no▁3|>" )) {
201
201
return LLM_CHAT_TEMPLATE_HUNYUAN_DENSE;
202
202
} else if (tmpl_contains (" <|im_assistant|>assistant<|im_middle|>" )) {
203
203
return LLM_CHAT_TEMPLATE_KIMI_K2;
You can’t perform that action at this time.
0 commit comments