mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-12 19:50:17 +00:00
minor : fix trailing whitespace (#5538)
This commit is contained in:
parent
7084755396
commit
f53119cec4
@ -12525,7 +12525,7 @@ static std::string trim(const std::string & str) {
|
|||||||
// This function uses heuristic checks to determine commonly used template. It is not a jinja parser.
|
// This function uses heuristic checks to determine commonly used template. It is not a jinja parser.
|
||||||
static int32_t llama_chat_apply_template_internal(
|
static int32_t llama_chat_apply_template_internal(
|
||||||
const std::string & tmpl,
|
const std::string & tmpl,
|
||||||
const std::vector<const llama_chat_message *> & chat,
|
const std::vector<const llama_chat_message *> & chat,
|
||||||
std::string & dest, bool add_ass) {
|
std::string & dest, bool add_ass) {
|
||||||
// Taken from the research: https://github.com/ggerganov/llama.cpp/issues/5527
|
// Taken from the research: https://github.com/ggerganov/llama.cpp/issues/5527
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
|
Loading…
Reference in New Issue
Block a user