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 feat/managed-enterprise-ai

Gabriel Stein079388a2a8fd
diff --cc src/helpers/audioManager.js
index 4b8f101ff,47adc3e32..7f2e5d337
--- a/src/helpers/audioManager.js
+++ b/src/helpers/audioManager.js
@@@ -123,11 -141,11 +142,12 @@@ function resolveReasoningRoute
settings,
agentName,
voiceAgentRequested,
- translationRequested
+ translationRequested,
+ screenContext
) {
+ const cleanup = selectResolvedLLMConfig(settings, "dictationCleanup");
const cleanupReachable =
- !!settings.useCleanupModel && (!!settings.cleanupModel?.trim() || isCloudCleanupMode());
+ !!settings.useCleanupModel && (!!cleanup.model?.trim() || isCloudCleanupMode());
const agent = resolveDictationAgentInference(settings, {
isCloudAgent: isCloudDictationAgentMode(),
});
diff --cc src/helpers/dictationAgentInference.js
index ce0e8f38e,392d0d942..0aedc3f38
--- a/src/helpers/dictationAgentInference.js
+++ b/src/helpers/dictationAgentInference.js
@@@ -2,9 -2,11 +2,12 @@@ import
resolveDictationAgentDisplayProvider,
resolveDictationAgentProvider,
resolveDictationAgentReachability,
+ resolveModeProvider,
+ resolveModeReachability,
} from "./dictationRouting.js";
import { isProviderValidForMode } from "../models/ModelRegistry";
+import { getManagedScopeResolution } from "../stores/enterpriseIdentityStore";
+ import { selectResolvedLLMConfig } from "../stores/settingsStore";
// The dictation agent's inference scope, shared by the dictation route in
// audioManager and the Prompt Studio test tab so a prompt test hits the same
diff --cc src/services/BaseReasoningService.ts
index c15f903eb,bf14eeda6..7be70e413
--- a/src/services/BaseReasoningService.ts
+++ b/src/services/BaseReasoningService.ts
@@@ -2,7 -2,7 +2,8 @@@ import { getCleanupSystemPrompt } from
import { getSettings } from "../stores/settingsStore";
import { resolveCleanupLanguage } from "../utils/chineseScript";
import { getDictionaryHintWords } from "../utils/snippets";
+import type { InferenceScope } from "../config/inferenceScopes";
+ import type { ScreenContextImage } from "../types/electron";
export interface ReasoningConfig {
maxTokens?: number;