From 4780128c6f2d84cf21fcfa9ed6e1927236cf32ed Mon Sep 17 00:00:00 2001 From: Eddy Date: Wed, 22 Apr 2026 13:46:02 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20doppelten=20Activity-Indicator=20verhind?= =?UTF-8?q?ern=20+=20gitignore=20aufr=C3=A4umen=20[appimage]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wenn User während laufender Verarbeitung tippt, erschien "Denkt nach" zweimal: einmal in der leeren Assistant-Message und nochmal als separater Block. Jetzt wird der separate Block nur gezeigt wenn nirgends eine leere Assistant-Message existiert. Co-Authored-By: Claude Opus 4.6 --- .gitignore | 4 ++-- src/lib/components/ChatPanel.svelte | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e2c45d4..a253e4b 100644 --- a/.gitignore +++ b/.gitignore @@ -26,8 +26,7 @@ result-* .env.local # Voice-Modelle (zu groß für Git, ~250MB) -models/*.bin -models/*.onnx +models/ # OS .DS_Store @@ -38,3 +37,4 @@ Thumbs.db vscode-extension/out/ vscode-extension/node_modules/ *.vsix +vscode-extension/package-lock.json diff --git a/src/lib/components/ChatPanel.svelte b/src/lib/components/ChatPanel.svelte index 77e87ef..4d0c4a8 100644 --- a/src/lib/components/ChatPanel.svelte +++ b/src/lib/components/ChatPanel.svelte @@ -1218,8 +1218,9 @@ {#if $isProcessing} {@const lastMsg = $messages.at(-1)} - {#if !lastMsg || lastMsg.role !== 'assistant'} - + {@const hasEmptyAssistant = $messages.some(m => m.role === 'assistant' && !m.content)} + {#if !lastMsg || (lastMsg.role !== 'assistant' && !hasEmptyAssistant)} +
{'\u{1F916}'} Claude