fix hanging on single string

This commit is contained in:
Roy Han 2024-07-09 15:51:55 -07:00
parent b686ac144c
commit c697eb2a9b

View File

@ -3188,6 +3188,10 @@ int main(int argc, char **argv) {
prompt = "";
}
if (prompt.size() == 1) {
prompt = prompt[0];
}
// create and queue the task
json responses;
{