We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc53039 commit 1e14b14Copy full SHA for 1e14b14
examples/server/server.cpp
@@ -2044,7 +2044,7 @@ struct server_context {
2044
const llama_model * model = llama_get_model(ctx);
2045
const llama_vocab * vocab = llama_model_get_vocab(model);
2046
const int32_t n_vocab = llama_vocab_n_tokens(vocab);
2047
- for (const auto& token : tokens) {
+ for (const auto & token : tokens) {
2048
if (token < 0 || token >= n_vocab) {
2049
return false;
2050
}
0 commit comments