mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-06 02:48:57 +01:00
remove trail whitespace
This commit is contained in:
parent
a7a6ceb7ae
commit
eb75395b5c
@ -812,6 +812,7 @@ int main(int argc, char **argv)
|
|||||||
{ "assistant_name", llama.assistant_name.c_str() }
|
{ "assistant_name", llama.assistant_name.c_str() }
|
||||||
};
|
};
|
||||||
res.set_content(data.dump(), "application/json"); });
|
res.set_content(data.dump(), "application/json"); });
|
||||||
|
|
||||||
svr.Post("/completion", [&llama](const Request &req, Response &res)
|
svr.Post("/completion", [&llama](const Request &req, Response &res)
|
||||||
{
|
{
|
||||||
llama_client_slot* slot = llama.requestCompletion(json::parse(req.body));
|
llama_client_slot* slot = llama.requestCompletion(json::parse(req.body));
|
||||||
|
Loading…
Reference in New Issue
Block a user