Fix new line issue with chat template, disable template when in-prefix/suffix is set (#8203)
* preserve new line llama_chat_format_single * disable chat template if in-prefix/suffix is set * remove redundant change
This commit is contained in:
parent
1c5eba6f8e
commit
9ef0780062
4 changed files with 23 additions and 9 deletions
|
@ -200,6 +200,7 @@ struct gpt_params {
|
|||
std::string public_path = "";
|
||||
std::string chat_template = "";
|
||||
std::string system_prompt = "";
|
||||
bool enable_chat_template = true;
|
||||
|
||||
std::vector<std::string> api_keys;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue