server : minor

This commit is contained in:
Georgi Gerganov 2023-10-24 23:03:34 +03:00
parent ee201791a1
commit 4b32c65d78
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -754,6 +754,7 @@ struct llama_server_context
}
slot->params.antiprompt.clear();
const auto &stop = data.find("stop");
if (stop != data.end() && stop->is_array())
{