Update examples/server/server.cpp
Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
This commit is contained in:
parent
0e1a5aa5fa
commit
14785e1148
1 changed files with 1 additions and 2 deletions
|
@ -1346,8 +1346,7 @@ struct llama_server_context
|
||||||
if (task.data.at("prompt").size() > 1)
|
if (task.data.at("prompt").size() > 1)
|
||||||
{
|
{
|
||||||
lock.unlock(); // entering new func scope
|
lock.unlock(); // entering new func scope
|
||||||
auto id = split_multiprompt_task(task);
|
return split_multiprompt_task(task);
|
||||||
return id;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// otherwise, it's a single-prompt task, we actually queue it
|
// otherwise, it's a single-prompt task, we actually queue it
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue