Skip to content

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

fix: disable thinking mode for Qwen models on Groq

Claudec85f6d1b1dd4
diff --git a/src/models/modelRegistryData.json b/src/models/modelRegistryData.json
index 4f962d957..15f9bd8a9 100644
--- a/src/models/modelRegistryData.json
+++ b/src/models/modelRegistryData.json
@@ -160,7 +160,7 @@
{
"id": "qwen/qwen3-32b",
"name": "Qwen3 32B",
- "description": "Powerful reasoning with thinking mode, 131K context"
+ "description": "Powerful reasoning model, 131K context"
},
{
"id": "openai/gpt-oss-120b",
diff --git a/src/services/ReasoningService.ts b/src/services/ReasoningService.ts
index 870fde041..dae5e091b 100644
--- a/src/services/ReasoningService.ts
+++ b/src/services/ReasoningService.ts
@@ -235,6 +235,13 @@ class ReasoningService extends BaseReasoningService {
),
};
+ // Disable thinking mode for Qwen models on Groq
+ // Thinking mode outputs internal reasoning which we don't want in dictation output
+ if (providerName === "Groq" && model.toLowerCase().includes("qwen")) {
+ requestBody.chat_template_kwargs = { enable_thinking: false };
+ logger.logReasoning("GROQ_QWEN_THINKING_DISABLED", { model });
+ }
+
logger.logReasoning(`${providerName.toUpperCase()}_REQUEST`, {
endpoint,
model,