This commit is contained in:
Carlos
2025-04-10 01:26:23 -04:00
parent f55c365e39
commit f93ab4a887

View File

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