From 063efc4d1c4025f07f5e752ee94bfa71d5933d77 Mon Sep 17 00:00:00 2001 From: Carlos Date: Thu, 10 Apr 2025 00:33:28 -0400 Subject: [PATCH] adding fixes --- server.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/server.js b/server.js index bcb3b79..dd1f395 100644 --- a/server.js +++ b/server.js @@ -37,9 +37,6 @@ const validateApiKey = (req, res, next) => { app.post("/api/generate/chat/completions", validateApiKey, async (req, res) => { try { // Forwarding the request to localhost:11434 with the prompt - const authHeader = req.headers["authorization"]; - console.log("Authorization header:", authHeader); - console.log("checking api", apiKey !== process.env.API_KEY); console.log("Body: ", req.body); const response = await axios.post( "http://localhost:11434/api/generate",