Update test-chat-handler.cpp

This commit is contained in:
ochafik 2025-01-28 09:24:35 +00:00
parent 2f99236f77
commit 0a51e514f6

View file

@ -535,7 +535,7 @@ static void test_grammars() {
{
const common_chat_template tmpl(read_file("tests/chat/templates/meta-llama-Llama-3.2-3B-Instruct.jinja"), "<s>", "</s>");
std::vector<std::string> end_tokens { "<|eom_id|>", "<|eot_id|>" };
assert_equals(std::string("llama 3.2 tool calls"), describe(tmpl, tools_params));
test_template(tmpl, end_tokens, text_message, tools);
test_template(tmpl, end_tokens, tool_call_message, tools);