This commit is contained in:
Carlos
2025-04-10 01:34:31 -04:00
parent 728068fd84
commit a488c377ce

View File

@ -49,7 +49,7 @@ app.post("/api/generate/api/chat", validateApiKey, async (req, res) => {
console.log("🧠 Prompt for Ollama:\n", prompt);
const response = await axios.post(
"http://localhost:11434/api/generate/api/chat",
"http://localhost:11434/api/generate",
{
model: model || "deepseek-r1:latest",
prompt,