minor : fix trailing whitespace

This commit is contained in:
Georgi Gerganov 2024-02-28 10:35:18 +02:00 committed by GitHub
parent aa12e7333f
commit f993d1448b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3289,7 +3289,7 @@ int main(int argc, char **argv)
svr.Post("/chat/completions", chat_completions); svr.Post("/chat/completions", chat_completions);
svr.Post("/v1/chat/completions", chat_completions); svr.Post("/v1/chat/completions", chat_completions);
svr.Post("/infill", [&llama, &validate_api_key](const httplib::Request &req, httplib::Response &res) svr.Post("/infill", [&llama, &validate_api_key](const httplib::Request &req, httplib::Response &res)
{ {
res.set_header("Access-Control-Allow-Origin", req.get_header_value("Origin")); res.set_header("Access-Control-Allow-Origin", req.get_header_value("Origin"));