Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Fix: Clear processing message in useChatActions hook

Salman-Ahamed5f9d924658bb
diff --git a/packages/app/src/react/features/ai-chat/hooks/use-chat-actions.ts b/packages/app/src/react/features/ai-chat/hooks/use-chat-actions.ts
index d742c06a..4a9cf464 100644
--- a/packages/app/src/react/features/ai-chat/hooks/use-chat-actions.ts
+++ b/packages/app/src/react/features/ai-chat/hooks/use-chat-actions.ts
@@ -178,7 +178,7 @@ export const useChatActions = ({
const lastMessage = newMessages[newMessages.length - 1];
if (lastMessage && lastMessage.type === 'system') {
// Show initial processing message and loading indicator
- lastMessage.message = 'Processing your request...';
+ lastMessage.message = '';
lastMessage.isReplying = true; // Show loading indicator for system message
}
return newMessages;