From b3e88bf494c840770aef1870f329ab6d7fc92702 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Fri, 24 Nov 2023 11:33:49 +0200 Subject: [PATCH] server : minor code style --- examples/server/server.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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