Cleanup of unused features

This commit is contained in:
MaggotHATE 2024-11-21 21:58:36 +05:00
parent 73f435fdfc
commit 2f0a01465a
2 changed files with 1 additions and 2 deletions

View file

@ -798,7 +798,6 @@ struct server_context {
slot.oaicompat = false;
slot.oaicompat_model = "";
}
std::string default_empty = "";
slot.params.stream = json_value(data, "stream", false);
slot.params.cache_prompt = json_value(data, "cache_prompt", false);

View file

@ -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);
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;
}