openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

v0.55+ regression: local Whisper/Piper unreachable from Voice settings UI (PR #2586 follow-up)

Open EvanCarson opened this issue 6 months ago • 1 comments

Summary

Starting in v0.55.0 (and still present in v0.56.0), the new chip-based Voice settings UI introduced in #2586 ships Whisper (Local) and Piper (Local) as disabled "coming soon" chips with no install button and no entry in the Voice Routing dropdowns. The previous release (v0.54.x) had functional Local Whisper / Local Piper dropdowns with one-click Install / Reinstall locally. From the user's perspective, free self-hosted STT/TTS is no longer reachable from the UI.

#2586's own description called this out as a known follow-up:

"enable Whisper/Piper/Deepgram/OpenAI chips (currently 'coming soon'), full routing section with per-workload dropdowns."

…but no follow-up landed before v0.55.0 / v0.56.0 shipped, so users hitting the new UI have no way to enable local STT/TTS even though the backend (voice/factory.rs, voice_install_* RPCs, capability catalog) is fully intact.

Reported in #2774.

Reproduction

  1. Install OpenHuman v0.55.0 or v0.56.0 (any platform, reproduced on macOS in #2774).
  2. Open Settings → AI → Dettatura vocale (Voice).
  3. Observe the "Provider vocali" section:
    • OpenHuman (Managed) — enabled.
    • Whisper (Local) (coming soon) — toggle disabled.
    • Piper (Local) (coming soon) — toggle disabled.
    • Deepgram (coming soon), OpenAI (coming soon) — disabled (less relevant — these never existed before).
    • ElevenLabs — enabled.
  4. Look at "Voice Routing" dropdowns — only Cloud (proxy Whisper) / Cloud (proxy ElevenLabs) are selectable.
  5. There is no install button anywhere in the panel.

Compare with v0.54.x where the panel had Local Whisper / Local Piper dropdowns plus Reinstall locally buttons (see screenshots in #2774).

Root cause

app/src/components/settings/panels/VoicePanel.tsx hardcodes both chips with disabled switches and the voice.providers.chip.comingSoon label:

  • Lines 521–546 — Whisper chip block, disabled button, "coming soon" label.
  • Lines 548–573 — Piper chip block, same pattern.
  • Lines 41 / 52 — comingSoon: true for Deepgram / OpenAI in BUILTIN_VOICE_PROVIDER_META.

The Voice Routing dropdowns also derive their option list from voiceSettings.voiceProviders plus the cloud constant only — local engines are not added to the option set.

Backend status

The Rust backend is untouched and still routes correctly when given "whisper" / "piper" provider strings:

  • voice/factory.rs::effective_stt_provider / effective_tts_provider honour config.stt_provider → config.local_ai.stt_provider → "cloud" (precedence preserved).
  • voice/factory.rs::create_stt_provider / create_tts_provider still have the "whisper" and "piper" branches.
  • 28 voice factory tests still pass on upstream/main, including effective_stt_falls_back_to_legacy and effective_tts_falls_back_to_legacy.
  • validate_stt_provider("whisper") / validate_tts_provider("piper") accept those strings (schemas_tests.rs:377, :391).
  • Capability catalog (about_app/catalog.rs) still declares local_ai.whisper_installer and local_ai.piper_installer.

So this is strictly a UI gap — the engine, RPCs, and config are all ready; the new VoicePanel just doesn't expose them.

Manual workaround (verified)

Editing ~/.openhuman/users/<user-id>/config.toml and changing:

[local_ai]
stt_provider = "whisper"
tts_provider = "piper"

is honoured at runtime — openhuman-core voice status reports the change and the factory routes to local. Workaround caveats:

  • Binaries / models must already be installed locally. Users upgrading from v0.54.x will still have them in the workspace; fresh v0.55+ installs cannot install them through any UI today.
  • Touching the new Voice Routing Save button calls openhumanVoiceSetProviders with the dropdown value (only "cloud" is selectable), which overwrites the workaround.

The workaround is a stopgap, not a fix.

Proposed fix

Two-step, mirroring #2586's own stated follow-up:

  1. Enable the Local chips and wire them to the existing install RPCs.
    • Drop the hardcoded disabled + comingSoon blocks for whisper and piper in VoicePanel.tsx.
    • Restore the install / reinstall buttons that call voice_install_whisper / voice_install_piper (the RPCs still exist — verify against voice/ops.rs).
    • Surface install progress + the "Installed" badge from voice_status (whisper_binary / piper_binary non-null + model paths present).
  2. Add "whisper" / "piper" to the Voice Routing dropdown option set so they can be selected without round-tripping through config.toml. Saving should send the literal "whisper" / "piper" string to voice_update_provider_settings (already validated by validate_stt_provider / validate_tts_provider).

Test coverage:

  • Extend app/src/components/settings/panels/__tests__/VoicePanel.test.tsx (currently asserts the chips are disabled — line 361) with the inverse: chips are enabled, click triggers the install RPC, post-install status reflects "Installed."
  • Add a routing-save test that round-trips "whisper" / "piper" through openhumanVoiceSetProviders and confirms the dropdown re-renders with the selected value.

Impact

  • Severity: Medium. Self-hosted local STT/TTS is a flagship "free, private" feature; making it unreachable from the UI undermines that promise. User in #2774 explicitly said "i would not pay for this service" — strong indicator of churn risk.
  • Affected versions: v0.55.0, v0.55.1, v0.56.0 (and any staging tags in between).
  • Platforms: All desktop (Windows / macOS / Linux). iOS client does not run a local core on device.
  • Privacy claim impact: OpenHuman's "fully local STT/TTS" positioning is regressed.

References

  • #2774 — original user report with v0.54.x vs v0.56.0 screenshots
  • #2586 — PR that introduced the regression (and named this exact follow-up in its description)
  • app/src/components/settings/panels/VoicePanel.tsx:35–62, 521–614 — UI gating
  • src/openhuman/voice/factory.rs:697–732 — effective_stt_provider / effective_tts_provider
  • src/openhuman/voice/schemas_tests.rs:375–397 — provider validation tests

EvanCarson avatar May 27 '26 20:05 EvanCarson

Picking this one up. PR up next.

obchain avatar May 28 '26 06:05 obchain