chat : fix yandex chat template (#15116)

This commit is contained in:
Sigbjørn Skjæret authored and GitHub committed 2025-08-06 13:26:49 +02:00
1 parent 25726898e8
commit 65c797c4fa
2 files changed
+2 -4

No files matched your search

-2
View File
@@ -625,8 +625,6 @@ int32_t llm_chat_apply_template(
} else if (tmpl == LLM_CHAT_TEMPLATE_YANDEX) {
// Yandex template ("\n\n" is defined as EOT token)
ss << "<s>";
for (size_t i = 0; i < chat.size(); i++) {
std::string role(chat[i]->role);
if (role == "user") {