Skip to content

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

fix: removed apikey from url

Gabriel Stein5ef8c6ed323e
diff --git a/src/services/ReasoningService.ts b/src/services/ReasoningService.ts
index 897403229..809b56dd2 100644
--- a/src/services/ReasoningService.ts
+++ b/src/services/ReasoningService.ts
@@ -433,11 +433,12 @@ class ReasoningService extends BaseReasoningService {
});
const res = await fetch(
- `${API_ENDPOINTS.GEMINI}/models/${model}:generateContent?key=${apiKey}`,
+ `${API_ENDPOINTS.GEMINI}/models/${model}:generateContent`,
{
method: "POST",
headers: {
"Content-Type": "application/json",
+ "x-goog-api-key": apiKey,
},
body: JSON.stringify(requestBody),
}