Skip to content

Feature: self-hosted provider setup (Ollama / LM Studio) in Settings → Providers after onboarding #3260

Description

@pamnard

Problem

Hermes Agent supports local Ollama/LM Studio (and other OpenAI-compatible servers), but after first-run onboarding the WebUI has no obvious way to add or reconfigure them.

Today:

Result for common installs:

  1. User completes onboarding with a cloud provider (or configures via hermes model / CLI and gets onboarding_completed: true).
  2. Wizard never shows again (static/boot.js: onboarding_completed ? Promise.resolve(false) : loadOnboardingWizard()).
  3. Settings → Providers shows API-key providers only — no Ollama card, no base URL editor, no probe/Test button.
  4. User assumes WebUI cannot connect to local Ollama, even though Hermes CLI can.

This is especially confusing for CLI-first users (Yandex/custom providers not in the onboarding catalog) who never saw the self-hosted wizard step.

Expected behavior

Post-onboarding, operators should be able to configure self-hosted inference from the WebUI without editing config.yaml or rerunning the full wizard.

Minimum viable UX (reuse existing backend):

  • Add a Self-hosted section in Settings → Providers for:
    • ollama (local)
    • lmstudio
    • custom OpenAI-compatible
  • Reuse existing onboarding primitives:
    • Base URL field + optional API key (respect key_optional)
    • POST /api/onboarding/probe (or a providers-scoped alias) to list models from <base_url>/models
    • Persist via the same config/env write path as onboarding (apply_onboarding_setup logic), without requiring onboarding_completed=false
  • After save: invalidate model cache + refresh model picker (same as provider key add/remove — see bug(providers): removed provider still appears in model dropdowns until server restart #1539 pattern)

Non-goals (for this request)

Acceptance criteria

References

Reporter context

Observed on a local bootstrap install where Hermes Agent was configured via CLI (Yandex provider). WebUI worked, but there was no visible Ollama setup path after onboarding except resetting onboarding_completed or using the terminal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsprint-candidateStrong candidate for next sprint

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions