Skip to content

Conversation

@VirenMohindra
Copy link
Contributor

@VirenMohindra VirenMohindra commented Dec 12, 2025

Summary

  • prevents model auto-switch from interrupting active recordings/transcriptions
  • adds is_recording tauri command to check recording state
  • skips auto-switch if recording in progress, preserving transcription data

Problem

when a model finishes downloading while user is actively transcribing, the app auto-switches to the new model after 500ms, interrupting the transcription and losing data.

Solution

check recording state before auto-switching. if recording is in progress, skip the auto-switch. user can manually select the model after transcription completes.

Testing

  • download model A, start transcription
  • start downloading model B during transcription
  • let B finish downloading
  • verify transcription completes normally without interruption
  • after transcription, manually select model B and verify it works

fixes #418

when a model download completes during an active recording/transcription,
the app now skips auto-switching to prevent data loss.

adds is_recording tauri command to check recording state before
auto-switching models on download or extraction completion.

fixes cjpais#418
@cjpais
Copy link
Owner

cjpais commented Dec 12, 2025

thank you! will be testing this after i play around with something on my dev branch

@cjpais
Copy link
Owner

cjpais commented Dec 12, 2025

I tested this and seems to work.

@cjpais cjpais merged commit b31a41a into cjpais:main Dec 12, 2025
2 checks passed
zhuzhuyule pushed a commit to zhuzhuyule/Votype that referenced this pull request Dec 13, 2025
…cjpais#443)

* fix: prevent model auto-switch from interrupting active transcription

when a model download completes during an active recording/transcription,
the app now skips auto-switching to prevent data loss.

adds is_recording tauri command to check recording state before
auto-switching models on download or extraction completion.

fixes cjpais#418

* Update bindings.ts

---------

Co-authored-by: CJ Pais <[email protected]>
zhuzhuyule pushed a commit to zhuzhuyule/Votype that referenced this pull request Dec 13, 2025
…cjpais#443)

* fix: prevent model auto-switch from interrupting active transcription

when a model download completes during an active recording/transcription,
the app now skips auto-switching to prevent data loss.

adds is_recording tauri command to check recording state before
auto-switching models on download or extraction completion.

fixes cjpais#418

* Update bindings.ts

---------

Co-authored-by: CJ Pais <[email protected]>
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.

[BUG] Model download completion auto-switches and interrupts active transcription

2 participants