jpmcb / nvim-llama

🦙 Ollama interfaces for Neovim
MIT License
231 stars 6 forks source link

Bug: Surface ollama on a different port #7

Open catdevman opened 4 months ago

catdevman commented 4 months ago

I had some troubles getting this plugin running because it is using port 11343 that port was already being used by my local copy of ollama service.

The error from docker of course wasn't very specific: Screenshot 2024-02-17 7 14 19 PM

My work around was using systemctl to stop ollama then boot up neovim and run the :Llama command. It would be nice to make the port configurable or at least ensure that the port isn't already in use.

jpmcb commented 3 months ago

Gotcha: I'll add a config to make the port configurable 👍🏼

Probably also would be good to just bypass running the docker container if there's an ollama server already running 👀