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

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
This commit is contained in:
Jiří Podivín 2024-08-15 08:21:57 +02:00 committed by GitHub
parent 5fd89a70ea
commit 234b30676a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;