Răsfoiți Sursa

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

Radoslav Gerganov 3 luni în urmă
părinte
comite
cdb6da468c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;
     }