From f93ab4a88796e2ebdc411624084e7fa4476e5ebc Mon Sep 17 00:00:00 2001 From: Carlos Date: Thu, 10 Apr 2025 01:26:23 -0400 Subject: [PATCH] adding --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 9252e35..4ff1183 100644 --- a/server.js +++ b/server.js @@ -49,7 +49,7 @@ app.post("/api/chat", validateApiKey, async (req, res) => { console.log("🧠 Prompt for Ollama:\n", prompt); const response = await axios.post( - "http://localhost:11434/api/generate", + "http://localhost:11434/api/chat", { model: model || "deepseek-r1:latest", prompt,