Skip to content

Commit 2f04332

Browse files
server : fix typo in model name (#4876)
1 parent 2a7c94d commit 2f04332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2515,7 +2515,7 @@ json oaicompat_completion_params_parse(
25152515
//
25162516
// https://platform.openai.com/docs/api-reference/chat/create
25172517
llama_sampling_params default_sparams;
2518-
llama_params["model"] = json_value(body, "model", std::string("uknown"));
2518+
llama_params["model"] = json_value(body, "model", std::string("unknown"));
25192519
llama_params["prompt"] = format_chatml(body["messages"]); // OpenAI 'messages' to llama.cpp 'prompt'
25202520
llama_params["cache_prompt"] = json_value(body, "cache_prompt", false);
25212521
llama_params["temperature"] = json_value(body, "temperature", 0.0);

0 commit comments

Comments
 (0)