diff --git a/examples/server/server.cpp b/examples/server/server.cpp index 7e4ad53b2..cb5caf3ff 100644 --- a/examples/server/server.cpp +++ b/examples/server/server.cpp @@ -2288,9 +2288,7 @@ json oaicompat_completion_params_parse( } else if (body["stop"].is_string()) { llama_params["stop"] = json::array({body["stop"].get()}); } else { - llama_params["stop"] = json_value( - body, "stop", - json::array()); + llama_params["stop"] = json_value(body, "stop", json::array()); } // Ensure there is ChatML-specific end sequence among stop words