Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

updated max tokens to 32K from 4K

altic-dev3a15c21d81d8
diff --git a/Sources/Fluid/Services/CommandModeService.swift b/Sources/Fluid/Services/CommandModeService.swift
index cc5a06c5..b4ca34a7 100644
--- a/Sources/Fluid/Services/CommandModeService.swift
+++ b/Sources/Fluid/Services/CommandModeService.swift
@@ -831,7 +831,7 @@ final class CommandModeService: ObservableObject {
streaming: enableStreaming,
tools: [TerminalService.toolDefinition],
temperature: isReasoningModel ? nil : 0.1,
- maxTokens: isReasoningModel ? 4096 : nil, // Reasoning models like o1 need a budget for thoughts
+ maxTokens: isReasoningModel ? 32000 : nil, // Reasoning models like o1 need a large budget for extended thought chains
extraParameters: extraParams
)
diff --git a/Sources/Fluid/Services/RewriteModeService.swift b/Sources/Fluid/Services/RewriteModeService.swift
index 210cd68c..ca2e7713 100644
--- a/Sources/Fluid/Services/RewriteModeService.swift
+++ b/Sources/Fluid/Services/RewriteModeService.swift
@@ -214,7 +214,7 @@ final class RewriteModeService: ObservableObject {
streaming: enableStreaming,
tools: [],
temperature: isReasoningModel ? nil : 0.7,
- maxTokens: isReasoningModel ? 4096 : nil, // Reasoning models like o1 need a budget for thoughts
+ maxTokens: isReasoningModel ? 32000 : nil, // Reasoning models like o1 need a large budget for extended thought chains
extraParameters: extraParams
)