Added whisper.cpp model size selection#204
Open
ericmason wants to merge 1 commit intoSuperCmdLabs:mainfrom
Open
Added whisper.cpp model size selection#204ericmason wants to merge 1 commit intoSuperCmdLabs:mainfrom
ericmason wants to merge 1 commit intoSuperCmdLabs:mainfrom
Conversation
Users can now choose their whisper.cpp model size in Settings > AI > Whisper. Larger models are more accurate but use more RAM and transcribe slower. The dropdown shows a red validation warning when the selected model hasn't been downloaded yet. - Replaced hardcoded 'base' model with dynamic size from settings - Cached model size to avoid repeated disk reads on every transcription - Cache invalidated when setting changes - Added model size dropdown with file sizes and descriptions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
Hi @ericmason tested this out. the model selection works. there's one issue tho. downloading large model returns 404 Also can you add an option to delete the model as well. people might try out the 4gb version if it's too slow they might want to free up the space
|
Contributor
|
@ericmason can you fix the conflict and the 404 issue, also another user had made a change for checking the sha hash for the downloaded model with the static hash we have in code. can you also add that for all of these models |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Changes
settings-store.ts— addedwhisperCppModelSizetoAISettingsinterface and defaultsmain.ts— replaced hardcodedWHISPERCPP_MODEL_NAMEwith cachedgetWhisperCppModelSize(), captured size once in download function to prevent mid-download inconsistencyelectron.d.ts— addedwhisperCppModelSizeto renderer-side typeAITab.tsx— model size dropdown with red border validation for undownloaded modelsen.json— i18n strings with model descriptions and file sizesTest plan
🤖 Generated with Claude Code