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 Chat Component to Import IChatMessage from Types

Salman-Ahamedea576dd071af
diff --git a/packages/app/src/react/features/ai-chat/components/chat.tsx b/packages/app/src/react/features/ai-chat/components/chat.tsx
index 9295afe8..a7e574e0 100644
--- a/packages/app/src/react/features/ai-chat/components/chat.tsx
+++ b/packages/app/src/react/features/ai-chat/components/chat.tsx
@@ -1,12 +1,12 @@
import { FC } from 'react';
-import { IChatMessage } from '@react/features/ai-chat';
import {
ReplyLoader,
SystemMessage,
ThinkingMessage,
UserMessage,
} from '@react/features/ai-chat/components';
+import { IChatMessage } from '@react/features/ai-chat/types/chat.types';
import '../styles/index.css';