fix hanging on single string
This commit is contained in:
parent
b686ac144c
commit
c697eb2a9b
4
llm/ext_server/server.cpp
vendored
4
llm/ext_server/server.cpp
vendored
@ -3188,6 +3188,10 @@ int main(int argc, char **argv) {
|
|||||||
prompt = "";
|
prompt = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (prompt.size() == 1) {
|
||||||
|
prompt = prompt[0];
|
||||||
|
}
|
||||||
|
|
||||||
// create and queue the task
|
// create and queue the task
|
||||||
json responses;
|
json responses;
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user