Cleanup of unused features
This commit is contained in:
parent
73f435fdfc
commit
2f0a01465a
2 changed files with 1 additions and 2 deletions
|
@ -798,7 +798,6 @@ struct server_context {
|
||||||
slot.oaicompat = false;
|
slot.oaicompat = false;
|
||||||
slot.oaicompat_model = "";
|
slot.oaicompat_model = "";
|
||||||
}
|
}
|
||||||
std::string default_empty = "";
|
|
||||||
|
|
||||||
slot.params.stream = json_value(data, "stream", false);
|
slot.params.stream = json_value(data, "stream", false);
|
||||||
slot.params.cache_prompt = json_value(data, "cache_prompt", false);
|
slot.params.cache_prompt = json_value(data, "cache_prompt", false);
|
||||||
|
|
|
@ -338,7 +338,7 @@ inline std::string format_chat(const struct llama_model * model, const std::stri
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_custom) formatted_chat = common_chat_apply_template(model, tmpl, chat, true);
|
if (!is_custom) formatted_chat = common_chat_apply_template(model, tmpl, chat, true);
|
||||||
LOG_WRN("formatted_chat using '%s': '%s'\n", tmpl.c_str(), formatted_chat.c_str());
|
LOG_DBG("formatted_chat using '%s': '%s'\n", tmpl.c_str(), formatted_chat.c_str());
|
||||||
|
|
||||||
return formatted_chat;
|
return formatted_chat;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue