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.

Refactor Import Path for Chat Types

Salman-Ahamed495948747df0
diff --git a/packages/app/src/react/features/ai-chat/contexts/index.tsx b/packages/app/src/react/features/ai-chat/contexts/index.tsx
index 3b3f58dd..2f40a481 100644
--- a/packages/app/src/react/features/ai-chat/contexts/index.tsx
+++ b/packages/app/src/react/features/ai-chat/contexts/index.tsx
@@ -1,5 +1,5 @@
/* eslint-disable no-unused-vars */
-import { FileWithMetadata, IChatMessage } from '@react/shared/types/chat.types';
+import { FileWithMetadata, IChatMessage } from '../types/chat.types';
import { ChangeEvent, createContext, FC, PropsWithChildren, useContext } from 'react';
interface ChatContextType {