Просмотр исходного кода

server : log requests to /v1/completions (#16495)

Radoslav Gerganov 3 месяцев назад
Родитель
Сommit
cdb6da468c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tools/server/server.cpp

+ 1 - 1
tools/server/server.cpp

@@ -4368,7 +4368,7 @@ struct server_context {
 
 static void log_server_request(const httplib::Request & req, const httplib::Response & res) {
     // skip GH copilot requests when using default port
-    if (req.path == "/v1/health" || req.path == "/v1/completions") {
+    if (req.path == "/v1/health") {
         return;
     }