-
Hello, I have two machines under the same local network: one hosts Ollama and the other does not. I'm curious whether it's possible to set up SGPT on the second machine to utilize the Ollama hosted on the first machine. Is that possible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I was able to define the API_BASE_URL to use the remote Ollama server. ( Please replace <<REMOTE_HOST>> to your host IP or hostname. API_BASE_URL=http://<<REMOTE_HOST>>:11434 Also I have to allow the ollama server to connect from a remote machine. |
Beta Was this translation helpful? Give feedback.
-
Seems like new issue arised: #503 |
Beta Was this translation helpful? Give feedback.
I was able to define the API_BASE_URL to use the remote Ollama server. ( Please replace <<REMOTE_HOST>> to your host IP or hostname.
API_BASE_URL=http://<<REMOTE_HOST>>:11434
Also I have to allow the ollama server to connect from a remote machine.