server: remove trailing space
This commit is contained in:
parent
2c225c9598
commit
b19f46a27e
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ inline std::string format_chat(const struct llama_model * model, const std::stri
|
|||
|
||||
// run the first time to get the total output length
|
||||
int32_t res = llama_chat_apply_template(model, ptr_tmpl, chat.data(), chat.size(), true, buf.data(), buf.size());
|
||||
|
||||
|
||||
// if it turns out that our buffer is too small, we resize it
|
||||
if ((size_t) res > buf.size()) {
|
||||
buf.resize(res);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue