You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// if a custom chat template is not supplied, we will use the one that comes with the model (if any)
4115
4108
if (params.chat_template.empty()) {
4116
-
if (!ctx_server.validate_model_chat_template()) {
4109
+
if (!ctx_server.validate_builtin_chat_template()) {
4117
4110
LOG_WRN("%s: The chat template that comes with this model is not yet supported, falling back to chatml. This may cause the model to output suboptimal responses\n", __func__);
4118
4111
params.chat_template = "chatml";
4119
4112
}
4120
4113
}
4121
4114
4122
4115
// print sample chat example to make it clear which template is used
0 commit comments