Skip to content

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

fix(enterprise): preserve enterprise mode when selecting a model

Alex Shumilov3d65ff9dd2c5
diff --git a/src/stores/settingsStore.ts b/src/stores/settingsStore.ts
index f0f000728..4f5fc96c1 100644
--- a/src/stores/settingsStore.ts
+++ b/src/stores/settingsStore.ts
@@ -329,9 +329,11 @@ function createBooleanSetter(key: string) {
}
const LOCAL_PROVIDERS = new Set(["qwen", "llama", "mistral", "openai-oss", "gemma"]);
+const ENTERPRISE_PROVIDERS = new Set(["bedrock", "azure", "vertex"]);
function inferenceModeForProvider(provider: string): Exclude<InferenceMode, "openwhispr"> {
if (provider === "custom") return "self-hosted";
+ if (ENTERPRISE_PROVIDERS.has(provider)) return "enterprise";
if (LOCAL_PROVIDERS.has(provider)) return "local";
return "providers";
}