The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(conversations): add acknowledgment handling for chat sends
Steven Enamakel1156aba2a23b
diff --git a/app/src/features/conversations/Conversations.tsx b/app/src/features/conversations/Conversations.tsxindex d96d5e7831..d38df247e2 100644--- a/app/src/features/conversations/Conversations.tsx+++ b/app/src/features/conversations/Conversations.tsx@@ -65,6 +65,7 @@ import {aiRegenerate,chatCancel,chatSend,+ chatSendWithAck,editMessage,useRustChat,} from '../../services/chatService';@@ -1439,7 +1440,7 @@ const Conversations = ({// routed provider (managed cloud, BYOK, or a user-run local endpoint such// as Ollama configured under Connections → LLM).try {- await chatSend({+ const ack = await chatSendWithAck({threadId: sendingThreadId,message: messageText,...(persistedAttachmentParts.length || opts?.voicePart@@ -1593,6 +1594,10 @@ const Conversations = ({queueMode: 'followup',reasoningEffort: composerReasoningEffort,});+ if (!ack.requestId) throw new Error('The core did not identify the queued follow-up');+ if (attachmentParts.length > 0 && ack.queuedAttachments.length === 0) {+ throw new Error('The core did not return staged attachment references for the queued follow-up');+ }// Only clear the composer once the backend has accepted the queue, so a// failed send leaves the user's draft + attachments intact to retry.setInputValue('');@@ -1602,7 +1607,8 @@ const Conversations = ({threadId,message: followupMessage,text: messageText,- attachments: attachmentParts,+ requestId: ack.requestId,+ attachments: ack.queuedAttachments,}));trackAnalyticsEvent('chat_message_sent', {