We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b3ca8 commit c72e399Copy full SHA for c72e399
src/llama-chat.cpp
@@ -189,7 +189,7 @@ llm_chat_template llm_chat_detect_template(const std::string & tmpl) {
189
return LLM_CHAT_TEMPLATE_MEGREZ;
190
} else if (tmpl_contains(" Ассистент:")) {
191
return LLM_CHAT_TEMPLATE_YANDEX;
192
- } else if (tmpl_contains("<role>ASSISTANT</role>") && tmpl_contains("'HUMAN'")) {
+ } else if (tmpl_contains("<role>ASSISTANT</role>") && tmpl_contains("HUMAN")) {
193
return LLM_CHAT_TEMPLATE_BAILING;
194
} else if (tmpl_contains("<|header_start|>") && tmpl_contains("<|header_end|>")) {
195
return LLM_CHAT_TEMPLATE_LLAMA4;
0 commit comments