custom indicators fixed
This commit is contained in:
@@ -326,6 +326,11 @@ const sendMessage = async (event: any) => {
|
||||
// Show typing indicator immediately (before first chunk arrives)
|
||||
isAgentProcessing.value = true
|
||||
|
||||
// Add thinking bubble in a macrotask so it runs in the same execution context
|
||||
// as the WebSocket handler (where tool bubbles work). nextTick / sync both fail
|
||||
// because vue-advanced-chat processes the send-message event asynchronously.
|
||||
setTimeout(() => addToolCallBubble('Thinking...'), 0)
|
||||
|
||||
// Mark as distributed (single checkmark) after confirming WS send
|
||||
setTimeout(() => {
|
||||
const msgIndex = messages.value.findIndex(m => m._id === messageId)
|
||||
|
||||
Reference in New Issue
Block a user