fix: doppelten Activity-Indicator verhindern + gitignore aufräumen [appimage]
All checks were successful
Build AppImage / build (push) Successful in 7m14s
All checks were successful
Build AppImage / build (push) Successful in 7m14s
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 <noreply@anthropic.com>
This commit is contained in:
parent
359933686b
commit
4780128c6f
2 changed files with 5 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -26,8 +26,7 @@ result-*
|
||||||
.env.local
|
.env.local
|
||||||
|
|
||||||
# Voice-Modelle (zu groß für Git, ~250MB)
|
# Voice-Modelle (zu groß für Git, ~250MB)
|
||||||
models/*.bin
|
models/
|
||||||
models/*.onnx
|
|
||||||
|
|
||||||
# OS
|
# OS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
@ -38,3 +37,4 @@ Thumbs.db
|
||||||
vscode-extension/out/
|
vscode-extension/out/
|
||||||
vscode-extension/node_modules/
|
vscode-extension/node_modules/
|
||||||
*.vsix
|
*.vsix
|
||||||
|
vscode-extension/package-lock.json
|
||||||
|
|
|
||||||
|
|
@ -1218,8 +1218,9 @@
|
||||||
|
|
||||||
{#if $isProcessing}
|
{#if $isProcessing}
|
||||||
{@const lastMsg = $messages.at(-1)}
|
{@const lastMsg = $messages.at(-1)}
|
||||||
{#if !lastMsg || lastMsg.role !== 'assistant'}
|
{@const hasEmptyAssistant = $messages.some(m => m.role === 'assistant' && !m.content)}
|
||||||
<!-- Nur zeigen wenn noch gar keine assistant-message da ist -->
|
{#if !lastMsg || (lastMsg.role !== 'assistant' && !hasEmptyAssistant)}
|
||||||
|
<!-- Nur zeigen wenn nirgends eine leere assistant-message mit Activity-Indicator ist -->
|
||||||
<div class="message assistant typing-msg">
|
<div class="message assistant typing-msg">
|
||||||
<div class="message-header">
|
<div class="message-header">
|
||||||
<span class="message-role">{'\u{1F916}'} Claude</span>
|
<span class="message-role">{'\u{1F916}'} Claude</span>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue