Skip to content

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

fix(reasoning): suppress Qwen thinking on local streaming via chat_template_kwargs (#802)

Gabriel Stein9668a5297fda
diff --git a/src/services/ai/thinkingSuppression.ts b/src/services/ai/thinkingSuppression.ts
index f0d6a2fe9..4279fb968 100644
--- a/src/services/ai/thinkingSuppression.ts
+++ b/src/services/ai/thinkingSuppression.ts
@@ -20,6 +20,7 @@ function suppressThinking(requestBody: Record<string, unknown>, providerKey: str
} else {
requestBody.reasoning_effort = "none";
}
+ requestBody.chat_template_kwargs = { enable_thinking: false };
}
export function applyThinkingSuppression(