Explorar el Código

server : init stop and error fields of the result struct (#9026)

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Jiří Podivín hace 1 año
padre
commit
234b30676a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      examples/server/server.cpp

+ 2 - 0
examples/server/server.cpp

@@ -1852,6 +1852,8 @@ struct server_context {
                     llama_lora_adapters_apply(ctx, lora_adapters);
                     server_task_result result;
                     result.id = task.id;
+                    result.stop = true;
+                    result.error = false;
                     result.data = json{{ "success", true }};
                     queue_results.send(result);
                 } break;