Skip to content

Commit 8a7c89e

Browse files
author
ochafik
committed
reinstate assert on chat_templates.template_default
1 parent ee475d2 commit 8a7c89e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/server/server.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1771,6 +1771,7 @@ struct server_context {
17711771
}
17721772

17731773
chat_templates = common_chat_templates_from_model(model, params_base.chat_template);
1774+
GGML_ASSERT(chat_templates.template_default.get() != nullptr);
17741775

17751776
return true;
17761777
}

0 commit comments

Comments
 (0)