From 1b32ac129fe59d8ce3e36864cee2be7c5bb72e9f Mon Sep 17 00:00:00 2001 From: ochafik Date: Sat, 28 Sep 2024 20:06:10 +0100 Subject: [PATCH] `chat-template`: fix test-arg --- common/arg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/arg.cpp b/common/arg.cpp index 5bcb70c1c..9374f3b80 100644 --- a/common/arg.cpp +++ b/common/arg.cpp @@ -1894,7 +1894,7 @@ gpt_params_context gpt_params_parser_init(gpt_params & params, llama_example ex, } params.chat_template = chat_template; } - ).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER}).set_env("LLAMA_ARG_CHAT_TEMPLATE")); + ).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER}).set_env("LLAMA_ARG_CHAT_TEMPLATE_FILE")); add_opt(llama_arg( {"-sps", "--slot-prompt-similarity"}, "SIMILARITY", format("how much the prompt of a request must match the prompt of a slot in order to use that slot (default: %.2f, 0.0 = disabled)\n", params.slot_prompt_similarity),