mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-03 09:22:01 +00:00 
			
		
		
		
	server : minor code style
This commit is contained in:
		@@ -2288,9 +2288,7 @@ json oaicompat_completion_params_parse(
 | 
			
		||||
    } else if (body["stop"].is_string()) {
 | 
			
		||||
        llama_params["stop"] = json::array({body["stop"].get<std::string>()});
 | 
			
		||||
    } 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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user