diff --git a/common/arg.cpp b/common/arg.cpp index c379e78ef..cb43b0d52 100644 --- a/common/arg.cpp +++ b/common/arg.cpp @@ -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(