diff --git a/examples/server/server.cpp b/examples/server/server.cpp index 624592838..8ae796703 100644 --- a/examples/server/server.cpp +++ b/examples/server/server.cpp @@ -641,7 +641,7 @@ struct llama_server_context continue; } - if(el[0].is_number_integer()) + if (el[0].is_number_integer()) { llama_token tok = el[0].get(); if (tok >= 0 && tok < n_vocab) @@ -652,7 +652,7 @@ struct llama_server_context else if (el[0].is_string()) { auto toks = llama_tokenize(model, el[0].get(), false); - for(auto tok : toks) + for (auto tok : toks) { slot->sparams.logit_bias[tok] = bias; }