Repository navigation
Conversation
Ker102
marked this pull request as ready for review
October 4, 2026 12:20
Contributor
Author
|
Hey! Just checking in on this one. Is API key fallback something you'd consider merging? Happy to rework it, trim it down, or split it up if a different approach fits better. CI is green and it's up to date with main as of the last push. |
…168c09 # Conflicts: # src/components/SettingsPage.tsx # src/helpers/audioManager.js # src/locales/ar/translation.json # src/locales/de/translation.json # src/locales/en/translation.json # src/locales/es/translation.json # src/locales/fr/translation.json # src/locales/it/translation.json # src/locales/ja/translation.json # src/locales/pt/translation.json # src/locales/ru/translation.json # src/locales/zh-CN/translation.json # src/locales/zh-TW/translation.json # src/services/ReasoningService.ts # src/services/ai/inferenceProviders/openai.ts # src/services/ai/inferenceProviders/tinfoil.ts
…168c09 # Conflicts: # src/stores/settingsStore.ts
This branch has not been deployed
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.
Adds backup API keys for transcription and dictation cleanup. If a key hits its quota or rate limit, OpenWhispr can try another saved key with the same provider and model. You can also choose other providers or downloaded local models, in order. Each new dictation starts with the primary key again.
Fallback has separate switches for transcription and cleanup, both off by default. Keys use the existing encrypted storage. The branch is up to date with main. The CodeQL hostname warnings in the tests are fixed too.
The latest update passed 77 affected checks using the bundled Node runtime. Typecheck, lint, translation checks, formatting and the renderer build also passed. Live provider requests and packaged app testing still need checking.
Closes #2542. Related to #1190 for local-model fallback.