Skip to content

Add option to disable speech recognition#282

Open
castawait wants to merge 1 commit into
coredevices:masterfrom
castawait:disable-voice-recognition
Open

Add option to disable speech recognition#282
castawait wants to merge 1 commit into
coredevices:masterfrom
castawait:disable-voice-recognition

Conversation

@castawait

Copy link
Copy Markdown

Closes #269

Problem

Speech recognition offers a choice between the cloud model and the ~670MB on-device model, but no way to turn it off. A user who wants neither is stuck: selecting Cloud prompts a sign in, and the only way to opt out is to download the local model and then delete it, which reverts to Cloud.

Change

Adds a Disabled speech recognition mode. Selecting it in Settings under Offline Speech Recognition turns transcription off with no sign in and no model download.

When the mode is Disabled, STTRouter.canServeSession() returns false, so VoiceSessionManager replies to the watch with the existing FailDisabled result. That is the same path used today when speech recognition is unavailable, so there is no new on-device behaviour.

Notes

Selection, routing, and the bug report summary already switch on sttConfig.mode, so the change is a new enum value plus the branches that handle it. The mode is serialized by name, so existing configs are unaffected.

Claude helped put this PR together.

Adds a Disabled speech recognition mode so users who want neither the
cloud model nor the on-device model can turn transcription off, with no
sign in and no model download. When selected, STTRouter.canServeSession()
returns false and the watch gets the existing FailDisabled result, the
same path used today when speech recognition is unavailable.

Closes coredevices#269

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@CLAassistant

CLAassistant commented Jul 4, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disabling voice recognition

2 participants