Update arg.cpp

This commit is contained in:
Olivier Chafik 2025-01-14 00:07:18 +00:00 committed by GitHub
parent 4daae0bfc7
commit 1b3bb7eeb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1919,7 +1919,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
[](common_params & params) {
params.use_jinja = true;
}
).set_examples({LLAMA_EXAMPLE_SERVER}));
).set_examples({LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_MAIN}).set_env("LLAMA_ARG_JINJA"));
add_opt(common_arg(
{"--chat-template"}, "JINJA_TEMPLATE",
string_format(