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",