Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Make sure we can speak with ollama localhosted from container #275

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

aponcedeleonch
Copy link
Contributor

Closes: #261

The main issue was that we were trying to reach ollama in localhost from inside the container. The fix:

  • Set the default ollama variable as CODEGATE_OLLAMA_URL=http://host.docker.internal:11434
  • Make sure we use the user specified URL for all ollama calls

Closes: #261

The main issue was that we were trying to reach ollama in `localhost`
from inside the container. The fix:
- Set the default ollama variable as `CODEGATE_OLLAMA_URL=http://host.docker.internal:11434`
- Make sure we use the user specified URL for all ollama calls
@aponcedeleonch aponcedeleonch merged commit 1b2d338 into main Dec 11, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error parsing Ollama response
2 participants