mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	server : fix typo in model name (#4876)
This commit is contained in:
		| @@ -2515,7 +2515,7 @@ json oaicompat_completion_params_parse( | ||||
|     // | ||||
|     // https://platform.openai.com/docs/api-reference/chat/create | ||||
|     llama_sampling_params default_sparams; | ||||
|     llama_params["model"]             = json_value(body, "model", std::string("uknown")); | ||||
|     llama_params["model"]             = json_value(body, "model", std::string("unknown")); | ||||
|     llama_params["prompt"]            = format_chatml(body["messages"]); // OpenAI 'messages' to llama.cpp 'prompt' | ||||
|     llama_params["cache_prompt"]      = json_value(body, "cache_prompt", false); | ||||
|     llama_params["temperature"]       = json_value(body, "temperature", 0.0); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Isaac McFadyen
					Isaac McFadyen