Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
Merge pull request #1211 from xAlcahest/fix/groq-cleanup-retry
Gabriel Steinfa6dd8cf9a00
diff --cc src/helpers/audioManager.jsindex 1d9ebb580,676641de5..791c7e693--- a/src/helpers/audioManager.js+++ b/src/helpers/audioManager.js@@@ -23,8 -23,8 +23,9 @@@ importgetEffectiveCleanupModel,isCloudCleanupMode,isCloudDictationAgentMode,+ isCloudTranslationMode,} from "../stores/settingsStore";+ import { recordCleanupFailure } from "../stores/cleanupFailureStore";import { getBatchTranscriptionModel, getTranscriptionProvider } from "../models/ModelRegistry";import { shouldSkipTranscriptionApiKey } from "./transcriptionAuth";import {@@@ -1601,42 -1357,16 +1602,43 @@@ registerProcessor("pcm-streaming-proces});if (useReasoning) {+ let route;try {- const route = resolveReasoningRoute(+ route = resolveReasoningRoute(normalizedText,- getSettings(),+ settings,agentName,- this.voiceAgentRequested+ this.voiceAgentRequested,+ this.translationRequested);+ if (this.translationRequested && route.kind !== "translation") {+ this.notifyTranslationFallback("unreachable");+ }if (route.kind === "skip") return normalizedText;+ if (route.kind === "translation") {+ const { text: translatedText } = await this.runTranslationChain({+ text: normalizedText,+ settings,+ agentName,+ route,+ cleanup: {+ mode: "model",+ model: cleanupModel,+ log: { level: "warn", channel: "notes", extra: { source } },+ },+ });++ logger.logReasoning("REASONING_SUCCESS", {+ resultLength: translatedText.length,+ resultPreview:+ translatedText.substring(0, 100) + (translatedText.length > 100 ? "..." : ""),+ processingTime: new Date().toISOString(),+ });++ return translatedText;+ }+const targetModel = route.kind === "agent" ? route.model : cleanupModel;const reasoningConfig = route.config;