Fix trailing whitespace, reverted enable_chat_template in arg

* `enable_chat_template` is no used by `server`
This commit is contained in:
MaggotHATE 2024-11-20 15:40:59 +05:00
parent 53e0215053
commit 9b58edf2d8
2 changed files with 3 additions and 3 deletions

View file

@ -850,7 +850,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
"string to prefix user inputs with (default: empty)", "string to prefix user inputs with (default: empty)",
[](common_params & params, const std::string & value) { [](common_params & params, const std::string & value) {
params.input_prefix = value; params.input_prefix = value;
// params.enable_chat_template = false; params.enable_chat_template = false;
} }
).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_INFILL})); ).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_INFILL}));
add_opt(common_arg( add_opt(common_arg(
@ -858,7 +858,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
"string to suffix after user inputs with (default: empty)", "string to suffix after user inputs with (default: empty)",
[](common_params & params, const std::string & value) { [](common_params & params, const std::string & value) {
params.input_suffix = value; params.input_suffix = value;
// params.enable_chat_template = false; params.enable_chat_template = false;
} }
).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_INFILL})); ).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_INFILL}));
add_opt(common_arg( add_opt(common_arg(