Skip to content

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

fix: read reasoning_content fallback for thinking-model inference (#809)

Alcahest845215b2cc42
diff --git a/src/helpers/llamaServer.js b/src/helpers/llamaServer.js
index 89a23d084..23bbce170 100644
--- a/src/helpers/llamaServer.js
+++ b/src/helpers/llamaServer.js
@@ -479,7 +479,8 @@ class LlamaServerManager {
try {
const response = JSON.parse(data);
- const text = response.choices?.[0]?.message?.content || "";
+ const message = response.choices?.[0]?.message;
+ const text = message?.content || message?.reasoning_content || "";
resolve(text.trim());
} catch (e) {
reject(new Error(`Failed to parse llama-server response: ${e.message}`));