Skip to content

fix: dynamically check model availability based on selected provider#409

Open
romiluz13 wants to merge 1 commit intoZackriya-Solutions:mainfrom
romiluz13:fix/dynamic-model-check
Open

fix: dynamically check model availability based on selected provider#409
romiluz13 wants to merge 1 commit intoZackriya-Solutions:mainfrom
romiluz13:fix/dynamic-model-check

Conversation

@romiluz13
Copy link

This PR fixes an issue where the "Start Recording" button would be disabled, complaining about a missing transcription model, even when a Whisper model was successfully downloaded and selected.

The bug was caused by a hardcoded check for parakeet_has_available_models in useRecordingStart.ts. This has been updated to dynamically check the model status based on the selected transcriptModelConfig.provider.

Additionally, the Whisper engine's discover_models method has been enhanced to automatically detect any custom .bin model files placed in the models directory, rather than strictly relying on the hardcoded catalog.

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