Skip to content

Commit 2f0a014

Browse files
committed
Cleanup of unused features
1 parent 73f435f commit 2f0a014

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/server/server.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,6 @@ struct server_context {
798798
slot.oaicompat = false;
799799
slot.oaicompat_model = "";
800800
}
801-
std::string default_empty = "";
802801

803802
slot.params.stream = json_value(data, "stream", false);
804803
slot.params.cache_prompt = json_value(data, "cache_prompt", false);

examples/server/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ inline std::string format_chat(const struct llama_model * model, const std::stri
338338
}
339339

340340
if (!is_custom) formatted_chat = common_chat_apply_template(model, tmpl, chat, true);
341-
LOG_WRN("formatted_chat using '%s': '%s'\n", tmpl.c_str(), formatted_chat.c_str());
341+
LOG_DBG("formatted_chat using '%s': '%s'\n", tmpl.c_str(), formatted_chat.c_str());
342342

343343
return formatted_chat;
344344
}

0 commit comments

Comments
 (0)