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 2df61bf commit f116411Copy full SHA for f116411
examples/server/server.cpp
@@ -821,12 +821,12 @@ struct server_context {
821
if (!slot.available()) {
822
continue;
823
}
824
-
+
825
// skip the slot if it does not contains prompt
826
if (!slot.prompt.is_string()) {
827
828
829
830
// current slot's prompt
831
std::string slot_prompt = slot.prompt.get<std::string>();
832
@@ -1586,7 +1586,7 @@ struct server_context {
1586
std::string prompt = json_value(task.data, "prompt", std::string());
1587
1588
server_slot * slot;
1589
1590
if (id_slot != -1) {
1591
slot = get_slot_by_id(id_slot);
1592
} else {
0 commit comments