We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 806446e commit 379b652Copy full SHA for 379b652
tests/test-chat.cpp
@@ -1441,7 +1441,10 @@ static void test_template_output_parsers() {
1441
}
1442
{
1443
auto tmpls = read_templates("models/templates/openai-gpt-oss-120b.jinja");
1444
- std::vector<std::string> end_tokens{ "<|return|>" };
+ std::vector<std::string> end_tokens{ "<|return|>", "<|call|>" };
1445
+
1446
+ assert_equals(COMMON_CHAT_FORMAT_GPT_OSS, common_chat_templates_apply(tmpls.get(), inputs_no_tools).format);
1447
+ assert_equals(COMMON_CHAT_FORMAT_GPT_OSS, common_chat_templates_apply(tmpls.get(), inputs_tools).format);
1448
1449
assert_msg_equals(message_assist_empty,
1450
common_chat_parse(
0 commit comments