your-papa/obsidian-Smart2Brain

How to make it work with a remote ollama server

Closed this issue · 3 comments

Feature Area

Settings

Painpoint

I am trying to connect the plugin with a self hosted ollama server in my local network, meaning I am not running ollama locally

Describe your idea

I want to know if there is a ny chance to configure the plugin to work with a remote ollama server.
It seems the intial set uo is able to connecto to my server and see the models I have intalled
image

However, I am stuck in this part of the setup, maybe I am missing something here.
image

Alternatives

No response

Additional Context

No response

It should be able to connect to the remote instance. Are you sure you have set the correct OLLAMA_ORIGINS environment variable?

It works with cloudflare hosted ollama serve, I have tried.

It should be able to connect to the remote instance. Are you sure you have set the correct OLLAMA_ORIGINS environment variable?

After double cheking I found I had the wrong IP, it's working now.
Thank you!