Skip to content

Notify the user when voice training fails - #14

Open
jgsaez9 wants to merge 1 commit into
EuleMitKeule:masterfrom
jgsaez9:fix/training-notification
Open

Notify the user when voice training fails#14
jgsaez9 wants to merge 1 commit into
EuleMitKeule:masterfrom
jgsaez9:fix/training-notification

Conversation

@jgsaez9

@jgsaez9 jgsaez9 commented Jul 5, 2026

Copy link
Copy Markdown

Problem

Voice training runs in the background when the main entry is set up or its options change. When it fails - backend unreachable, audio files not found under the media folder, etc. - the only signal is a log line. Users just see "no result" at recognition time (or the speaker_recognition_detected event never firing) with no idea why. This was a very common source of confusion during setup.

Fix

  • Track the last training error on the recognition instance (last_train_error).
  • Surface it as a persistent notification with the reason, and dismiss it automatically on the next successful training.

This turns silent failures into an actionable message in the UI.

Training runs in the background when the main entry is set up or its options
change. On failure (backend unreachable, audio files not found, ...) the only
signal was a log line, so users just saw no recognition result later with no
idea why.

Track the last training error on the recognition instance and surface it as a
persistent notification, dismissed automatically on the next successful train.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

1 participant