Update examples/server/server.cpp

Co-authored-by: Xuan Son Nguyen <thichthat@gmail.com>
This commit is contained in:
Georgi Gerganov 2024-09-27 10:46:37 +03:00 committed by GitHub
parent 1ae8376d40
commit 84b0af8355
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3144,7 +3144,6 @@ int main(int argc, char ** argv) {
return;
}
} else {
exit(0);
res_error(res, format_error_response("\"query\" must be provided", ERROR_TYPE_INVALID_REQUEST));
return;
}