The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(n1): mit externem Diktat kein faster-whisper-Hinweis mehr; LFM3-Audio-Groesse 1,6 GB
purple8b7bf6d89a33
diff --git a/src/components/settings/SpeechSettings.tsx b/src/components/settings/SpeechSettings.tsxindex c0edb1fd..3ee77325 100644--- a/src/components/settings/SpeechSettings.tsx+++ b/src/components/settings/SpeechSettings.tsx@@ -298,7 +298,8 @@ export function SpeechSettings() {{whisper.installError && (<p className={`text-[0.55rem] leading-snug ${HINWEIS_TEXT.fehler}`}>{whisper.installError}</p>)}- {showsHint(whisper) && (+ {/* N1: with an external dictation engine faster-whisper is not required. */}+ {showsHint(whisper) && voiceSettings.sttMode !== 'external' && (<p className="text-[0.55rem] text-gray-500 leading-snug">Required for the microphone. Installs faster-whisper into LU's Python; first run also downloads a small model.</p>@@ -318,7 +319,7 @@ export function SpeechSettings() {<SettingInput value={voiceSettings.externalSttModel} onChange={(v) => voiceSettings.updateVoiceSettings({ externalSttModel: v })} placeholder="model (e.g. lfm3-audio:2b)" /><OllamaSpeechPreset onUse={() => voiceSettings.updateVoiceSettings({ externalSttUrl: ollamaSpeechUrls(getOllamaBase()).stt, externalSttModel: OLLAMA_SPEECH_MODEL })} /><p className="t-micro text-gray-500 leading-snug">- Any OpenAI-compatible speech-to-text endpoint. With Ollama 0.40.13 or newer, LFM3 Audio (lfm3-audio:2b, 1.7 GB) transcribes the microphone; get it in Models first. Stays on your machine when the endpoint is local.+ Any OpenAI-compatible speech-to-text endpoint. With Ollama 0.40.13 or newer, LFM3 Audio (lfm3-audio:2b, 1.6 GB) transcribes the microphone; get it in Models first. Stays on your machine when the endpoint is local.</p></div>)}diff --git a/src/hooks/__tests__/lfm3-audio-spricht-und-hoert.dom.test.tsx b/src/hooks/__tests__/lfm3-audio-spricht-und-hoert.dom.test.tsxindex 7ae468c6..78a9d6b1 100644--- a/src/hooks/__tests__/lfm3-audio-spricht-und-hoert.dom.test.tsx+++ b/src/hooks/__tests__/lfm3-audio-spricht-und-hoert.dom.test.tsx@@ -120,4 +120,21 @@ describe('Einstellungen: ein Klick traegt LFM3 Audio in Ollama ein', () => {externalTtsVoice: '',})})++ it('mit externem Diktat sagt die Seite nicht mehr, faster-whisper sei noetig', async () => {+ backend.tauri.on = false+ backend.backendCall.mockImplementation(async (cmd: string) => (cmd === 'installed_piper_voices' ? [] : { available: false }))+ const fetchMock = vi.fn(async () => new Response(JSON.stringify({ available: false, backend: null }), { status: 200 }))+ vi.stubGlobal('fetch', fetchMock)+ useVoiceStore.getState().updateVoiceSettings({ sttMode: 'whisper' })+ const { unmount } = render(createElement(SpeechSettings))+ await act(async () => { await new Promise((r) => setTimeout(r, 0)) })+ expect(screen.queryByText(/Required for the microphone/)).not.toBeNull()+ unmount()+ useVoiceStore.getState().updateVoiceSettings({ sttMode: 'external' })+ render(createElement(SpeechSettings))+ await act(async () => { await new Promise((r) => setTimeout(r, 0)) })+ expect(screen.queryByText(/Required for the microphone/)).toBeNull()+ vi.unstubAllGlobals()+ })})