remove trailing whitespaces

This commit is contained in:
sasha0552 2024-06-05 09:02:01 +00:00 committed by GitHub
parent 2df61bf59e
commit f1164112de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -821,12 +821,12 @@ struct server_context {
if (!slot.available()) {
continue;
}
// skip the slot if it does not contains prompt
if (!slot.prompt.is_string()) {
continue;
}
// current slot's prompt
std::string slot_prompt = slot.prompt.get<std::string>();
@ -1586,7 +1586,7 @@ struct server_context {
std::string prompt = json_value(task.data, "prompt", std::string());
server_slot * slot;
if (id_slot != -1) {
slot = get_slot_by_id(id_slot);
} else {