Skip to content

Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.

Fix: Error accessing ollama api endpoint in docker

Khuram Niaz83aa24a5ec8f
diff --git a/src/actions/ai.actions.ts b/src/actions/ai.actions.ts
index 88e16c5..6a2b905 100644
--- a/src/actions/ai.actions.ts
+++ b/src/actions/ai.actions.ts
@@ -56,7 +56,7 @@ export const getResumeReviewByAi = async (
const inputMessage = await prompt.format({ resume: resumeText });
const model = new ChatOllama({
- baseUrl: process.env.OLLAMA_BASE_URL || "http://localhost:11434",
+ baseUrl: process.env.OLLAMA_BASE_URL || "http://127.0.0.1:11434",
model: "llama3",
temperature: 0,
format: "json",