Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

Merge remote-tracking branch 'origin/main' into fix/custom-endpoint-url-overwrite

Gabriel Stein34e1b4acda98
diff --cc src/components/TranscriptionModelPicker.tsx
index 1f8288417,08a2ae1e9..be7e17a1c
--- a/src/components/TranscriptionModelPicker.tsx
+++ b/src/components/TranscriptionModelPicker.tsx
@@@ -631,11 -642,9 +642,12 @@@ export default function TranscriptionMo
[onModeChange, ensureValidCloudSelection]
);
+ // Never writes cloudTranscriptionBaseUrl: that key is the Custom tab's only
+ // storage, and built-in providers resolve their endpoints from the registry
+ // at request time — writing it here destroyed the user's URL (#1459).
const handleCloudProviderChange = useCallback(
(providerId: string) => {
+ if (!providerAllowed(providerId)) return;
onCloudProviderSelect(providerId);
const provider = cloudProviders.find((p) => p.id === providerId);
@@@ -644,11 -653,20 +656,11 @@@
return;
}
- if (provider) {
- setCloudTranscriptionBaseUrl?.(provider.baseUrl);
- if (provider.models?.length) {
- onCloudModelSelect(provider.models[0].id);
- }
+ if (provider?.models?.length) {
+ onCloudModelSelect(provider.models[0].id);
}
},
- [cloudProviders, onCloudProviderSelect, onCloudModelSelect]
- [
- cloudProviders,
- onCloudProviderSelect,
- onCloudModelSelect,
- setCloudTranscriptionBaseUrl,
- providerAllowed,
- ]
++ [cloudProviders, onCloudProviderSelect, onCloudModelSelect, providerAllowed]
);
const handleLocalProviderChange = useCallback(