Skip to content

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

chore(llm-timeout): correct comments that undersold the setting's streaming reach

Gabriel Stein52f907990202
diff --git a/src/components/SettingsPage.tsx b/src/components/SettingsPage.tsx
index f96038b8f..281f29679 100644
--- a/src/components/SettingsPage.tsx
+++ b/src/components/SettingsPage.tsx
@@ -717,7 +717,7 @@ function LlmsTabs({
<TabPanel active={tab === "chatIntelligence"}>{renderChatIntelligence()}</TabPanel>
)}
- {/* Applies to every scope above — the shared abort timeout for non-streaming requests. */}
+ {/* Applies to every scope above — the timeout setting is global, not per-scope. */}
<div className="border-t border-border/40 pt-4 mt-4">
<SettingsPanel>
<SettingsPanelRow>
diff --git a/src/services/ReasoningService.ts b/src/services/ReasoningService.ts
index 477158d6b..bf45801c4 100644
--- a/src/services/ReasoningService.ts
+++ b/src/services/ReasoningService.ts
@@ -595,9 +595,6 @@ class ReasoningService extends BaseReasoningService {
this.streamAbortController = new AbortController();
const controller = this.streamAbortController;
- // The configured setting raises the ceiling for slow self-hosted models;
- // it must never lower streaming below its historical 60s budget, since
- // that would be a regression for existing users.
const timeoutSeconds = Math.max(
resolveLlmRequestTimeoutSeconds(getSettings().llmRequestTimeoutSeconds),
LLM_STREAMING_TIMEOUT_FLOOR_SECONDS
diff --git a/src/stores/settingsStore.ts b/src/stores/settingsStore.ts
index 6bf67d8fc..ac6e1409d 100644
--- a/src/stores/settingsStore.ts
+++ b/src/stores/settingsStore.ts
@@ -636,9 +636,9 @@ export interface SettingsState
remoteTranscriptionModel: string;
cleanupMode: InferenceMode;
cleanupRemoteUrl: string;
- // Abort timeout for every non-streaming LLM request (cleanup, note formatting,
- // agent tool calls, self-hosted LAN calls), in seconds. Clamped to a sane range
- // at the point of use — see src/helpers/llmRequestTimeout.js.
+ // Abort timeout for LLM requests (cleanup, note formatting, agent tool calls,
+ // self-hosted LAN calls), in seconds. Clamped to a sane range at the point of
+ // use, and floored at 60s for streaming — see src/helpers/llmRequestTimeout.js.
llmRequestTimeoutSeconds: number;
meetingTranscriptionMode: InferenceMode;