Skip to content

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

refactor(settings): trim redundant doc comment on isTinfoilInferenceUrl

Gabriel Steinb6807bc0f6de
diff --git a/src/services/transcriptionBaseUrl.ts b/src/services/transcriptionBaseUrl.ts
index 7e703ea44..26f28b7d9 100644
--- a/src/services/transcriptionBaseUrl.ts
+++ b/src/services/transcriptionBaseUrl.ts
@@ -34,11 +34,8 @@ function parseHostname(url: string): string | null {
export const TINFOIL_PROXY_REQUIRED_ERROR =
"Tinfoil transcription must go through the attested main-process proxy";
-/**
- * True when a URL points at Tinfoil's inference host. Tinfoil audio must go
- * through the attested main-process proxy, so request paths use this to
- * refuse a Custom-provider base URL that targets Tinfoil directly.
- */
+// True when a URL points at Tinfoil's inference host, so request paths can
+// refuse a Custom base URL that targets Tinfoil directly.
export function isTinfoilInferenceUrl(
url: string,
providers: readonly TranscriptionProviderBaseUrl[]