mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-29 08:41:22 +00:00 
			
		
		
		
	server : allow content to be null in oaicompat_completion_params_parse (#13477)
This commit is contained in:
		| @@ -644,7 +644,7 @@ static json oaicompat_completion_params_parse( | ||||
|     } | ||||
|     for (auto & msg : messages) { | ||||
|         json & content = msg.at("content"); | ||||
|         if (content.is_string()) { | ||||
|         if (content.is_string() || content.is_null()) { | ||||
|             continue; | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Anudit Nagar
					Anudit Nagar