|
@@ -680,9 +680,6 @@ int32_t llm_chat_apply_template(
|
|
|
ss << "<|startoftext|>" << message->content << "<|extra_0|>";
|
|
ss << "<|startoftext|>" << message->content << "<|extra_0|>";
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if (add_ass) {
|
|
|
|
|
- ss << "<|startoftext|>";
|
|
|
|
|
- }
|
|
|
|
|
} else {
|
|
} else {
|
|
|
// template not supported
|
|
// template not supported
|
|
|
return -1;
|
|
return -1;
|