Hello,
I am currently trying to use this project with an Ollama backend, but I am running into limitations due to local resource constraints.
Context
I am unable to run Ollama locally because of limited CPU/RAM, so I am attempting to use a remote Ollama server hosted on a VPS.
What I Have Tried
1. Modifying settings.json
I changed the endpoint from the default:
to:
However, requests still appear to be directed to localhost, suggesting the endpoint may be hardcoded or internally overridden.
2. Port Forwarding / Redirect (Windows)
I used netsh interface portproxy to forward traffic:
localhost:11434 → <VPS_IP>:11434
Command used:
netsh interface portproxy add v4tov4 listenport=11434 listenaddress=127.0.0.1 connectport=11434 connectaddress=<VPS_IP>
Result:
- Some requests are successfully forwarded
- However, behavior is inconsistent, as if certain calls bypass the proxy or use a different binding
3. Ollama Binding on VPS
I verified that Ollama is bound to:
And confirmed accessibility:
curl http://<VPS_IP>:11434/api/tags
Main Issue
The application seems to:
- Still rely on
localhost internally
- Not fully respect the configured endpoint
Possible causes:
- Hardcoded localhost usage
- Internal client override
- Multiple configuration sources (e.g., environment variables vs JSON)
Questions
- Is it currently possible to fully use a remote Ollama server with this project?
- Is there an official way to override the endpoint (e.g., via environment variables, CLI flags, or config priority)?
- Are there any parts of the codebase that are still hardcoded to
localhost?
Suggestion
It would be very helpful if:
- The Ollama endpoint could be explicitly configurable (single source of truth)
- Remote inference support was more stable for low-resource environments
Thank you. and may God Bless You
Hello,
I am currently trying to use this project with an Ollama backend, but I am running into limitations due to local resource constraints.
Context
I am unable to run Ollama locally because of limited CPU/RAM, so I am attempting to use a remote Ollama server hosted on a VPS.
What I Have Tried
1. Modifying
settings.jsonI changed the endpoint from the default:
to:
However, requests still appear to be directed to
localhost, suggesting the endpoint may be hardcoded or internally overridden.2. Port Forwarding / Redirect (Windows)
I used
netsh interface portproxyto forward traffic:Command used:
Result:
3. Ollama Binding on VPS
I verified that Ollama is bound to:
And confirmed accessibility:
Main Issue
The application seems to:
localhostinternallyPossible causes:
Questions
localhost?Suggestion
It would be very helpful if:
Thank you. and may God Bless You