Skip to content

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

Merge branch 'main' into fix/mistral-cleanup-422

Gabriel Steinac44545e2a0b
diff --cc src/services/ReasoningService.ts
index cc3a0d526,7fdac8862..32c714e77
--- a/src/services/ReasoningService.ts
+++ b/src/services/ReasoningService.ts
@@@ -262,13 -255,16 +262,10 @@@ class ReasoningService extends BaseReas
status: res.status,
statusText: res.statusText,
error: errorData,
- errorMessage: errorData.error?.message || errorData.message || errorData.error,
+ errorMessage,
fullResponse: errorText.substring(0, 500),
});
- // Carry the status so the retry layer can tell a rejection from a network fault.
- const apiError = new Error(errorMessage) as Error & { status?: number };
- apiError.status = res.status;
- throw apiError;
-
- const errorMessage =
- errorData.error?.message ||
- errorData.message ||
- errorData.error ||
- `${providerName} API error: ${res.status}`;
+ throw httpError(errorMessage, res.status);
}
const jsonResponse = await res.json();