Let users configure an external Ollama server URL
Summary
Add an editable Ollama server URL input to Local Model settings and avoid bootstrapping a fresh Ollama install when an external server is reachable.
Problem
On Windows 11, users who already run Ollama on an existing server/port need a UI way to point OpenHuman at that server. Core already supports local_ai.base_url, but the UI only displays the value read-only in the local model status area. The current Fix binary path flow also bootstraps a fresh install instead of letting users target or reuse an existing reachable Ollama server.
Verified details:
- Core config supports
local_ai.base_urlinapp/src/utils/tauriCommands/config.tsaround line 143. - UI renders the value read-only in
ModelStatusSection.tsx. Fix binary pathstarts/bootstrap-installs rather than treating a reachable external Ollama server as valid.- Current workaround is manually editing
config.toml.
Expected behavior: users can configure the Ollama server URL/port from the Local Model settings panel, test the connection, and use an existing reachable Ollama server without forced reinstall/bootstrap.
Impact: Windows users with existing Ollama setups have to edit config files manually or get pushed into an unnecessary install path, making local AI setup harder and more fragile.
Steps to reproduce:
- On Windows 11, run Ollama externally on a custom host/port or existing server.
- Open OpenHuman Local Model settings.
- Look for an editable Ollama server/base URL field.
- Observe the UI only shows the base URL/status read-only.
- Use
Fix binary path. - Observe OpenHuman attempts to bootstrap/install instead of accepting a reachable external server.
Version / platform: OpenHuman desktop app on Windows 11. Reported May 19, 2026.
Solution (optional)
Add an editable Ollama server URL field to the local-model settings panel, wired to local_ai.base_url. Include validation, save/apply behavior, and a connection test. Update the install/bootstrap flow so if the configured external Ollama server is reachable and healthy, OpenHuman skips binary-path repair/install bootstrap and uses that server.
Acceptance criteria
- [ ] Editable URL field — Local Model settings include an editable
Ollama server URLinput backed bylocal_ai.base_url. - [ ] Validation included — The input validates URL format and gives clear guidance for host/port values.
- [ ] Connection test works — Users can test the configured Ollama server and see reachable/unreachable status.
- [ ] External server respected — If the configured Ollama server is reachable, OpenHuman uses it without requiring local binary bootstrap.
- [ ] Install bootstrap skipped —
Fix binary pathor related repair flows do not force a fresh install when an external Ollama server is configured and healthy. - [ ] Config persists — Saved server URL persists through app restart and updates
config.toml/core config correctly. - [ ] Read-only display updated — Existing read-only display in
ModelStatusSection.tsxis replaced or paired with the editable setting in the right panel. - [ ] Regression safety — Unit/integration coverage verifies URL editing, config persistence, connection testing, and skip-bootstrap behavior.
- [ ] Diff coverage ≥ 80% — the fix PR meets the changed-lines coverage gate (Vitest + cargo-llvm-cov, enforced by
.github/workflows/coverage.yml).
Related
app/src/utils/tauriCommands/config.tsModelStatusSection.tsx- Windows 11 local AI / Ollama setup feedback.
Can i work on this issue?
Hey ayushdiitr, thanks for picking this up! I've assigned you. The acceptance criteria in the issue description should be a good guide — let me know if you have any questions.
Hey @ayushdiitr — assigning this issue to you. Could you take a look?