Update examples/server/server.cpp
Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
This commit is contained in:
parent
14785e1148
commit
3b371e10c4
1 changed files with 1 additions and 1 deletions
|
@ -1553,7 +1553,7 @@ struct llama_server_context
|
||||||
aggregate_result.error = false;
|
aggregate_result.error = false;
|
||||||
|
|
||||||
// collect json results into one json result
|
// collect json results into one json result
|
||||||
std::vector<json> result_jsons{};
|
std::vector<json> result_jsons;
|
||||||
for (auto& subres : queue_iterator->results)
|
for (auto& subres : queue_iterator->results)
|
||||||
{
|
{
|
||||||
result_jsons.push_back(subres.result_json);
|
result_jsons.push_back(subres.result_json);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue