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.

Update ErrorMessage component to include 'me' prop in ChatBubble for better error handling.

Salman-Ahamed53e1e222d547
diff --git a/packages/app/src/react/features/ai-chat/components/chat-history.tsx b/packages/app/src/react/features/ai-chat/components/chat-history.tsx
index 8d648b65..7575c3eb 100644
--- a/packages/app/src/react/features/ai-chat/components/chat-history.tsx
+++ b/packages/app/src/react/features/ai-chat/components/chat-history.tsx
@@ -98,5 +98,5 @@ export const ChatHistory: FC<ChatHistoryProps> = ({ agent, chatId, messages }) =
};
const ErrorMessage: FC<{ avatar?: string }> = ({ avatar }) => (
- <ChatBubble isError message={CHAT_ERROR_MESSAGE} avatar={avatar} />
+ <ChatBubble isError message={CHAT_ERROR_MESSAGE} avatar={avatar} me={false} />
);