mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-10-28 08:31:25 +00:00
server : log requests to /v1/completions (#16495)
This commit is contained in:
committed by
GitHub
parent
6d69ab3f26
commit
cdb6da468c
@@ -4368,7 +4368,7 @@ struct server_context {
|
|||||||
|
|
||||||
static void log_server_request(const httplib::Request & req, const httplib::Response & res) {
|
static void log_server_request(const httplib::Request & req, const httplib::Response & res) {
|
||||||
// skip GH copilot requests when using default port
|
// skip GH copilot requests when using default port
|
||||||
if (req.path == "/v1/health" || req.path == "/v1/completions") {
|
if (req.path == "/v1/health") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user