8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a7c94d commit 2f04332Copy full SHA for 2f04332
examples/server/server.cpp
@@ -2515,7 +2515,7 @@ json oaicompat_completion_params_parse(
2515
//
2516
// https://platform.openai.com/docs/api-reference/chat/create
2517
llama_sampling_params default_sparams;
2518
- llama_params["model"] = json_value(body, "model", std::string("uknown"));
+ llama_params["model"] = json_value(body, "model", std::string("unknown"));
2519
llama_params["prompt"] = format_chatml(body["messages"]); // OpenAI 'messages' to llama.cpp 'prompt'
2520
llama_params["cache_prompt"] = json_value(body, "cache_prompt", false);
2521
llama_params["temperature"] = json_value(body, "temperature", 0.0);
0 commit comments