blob: f7e2fefc180bb97017d11f93d7353ff7e2f738e9 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# Changelog — 2026-03-24 #11
## Fix: Remove empty streaming bubble before approval prompts
### Problem
When the AI called a tool requiring user approval (e.g., `delete_file`), an empty assistant streaming bubble with the 3-dots loading indicator appeared above the approval prompt. This was confusing because the approval prompt is the active UI element and the empty bubble served no purpose.
### Changes
- **`src/chat-view.ts`** — Updated the `onApprovalRequest` callback in `handleSend()` to remove the current streaming bubble from the DOM (and null out `currentBubble`) when the bubble is empty, before showing the approval prompt. The next loop iteration creates a fresh bubble for the model's subsequent response.
|