diff --git a/examples/server/server.cpp b/examples/server/server.cpp index e181e2e9f..e272fca15 100644 --- a/examples/server/server.cpp +++ b/examples/server/server.cpp @@ -3350,6 +3350,7 @@ int main(int argc, char ** argv) { prompts.push_back(content); } else { res_error(res, format_error_response("\"input\" or \"content\" must be provided", ERROR_INVALID_REQUEST)); + return; } // process all prompts