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 FileWithMetadata Type

Salman-Ahamed2f0e0614b27a
diff --git a/packages/app/src/react/features/ai-chat/components/file-item-preview.tsx b/packages/app/src/react/features/ai-chat/components/file-item-preview.tsx
index 0b8a1189..517e9588 100644
--- a/packages/app/src/react/features/ai-chat/components/file-item-preview.tsx
+++ b/packages/app/src/react/features/ai-chat/components/file-item-preview.tsx
@@ -1,4 +1,4 @@
-import { FileWithMetadata } from '@react/shared/types/chat.types';
+import { FileWithMetadata } from '../types/chat.types';
import classNames from 'classnames';
import { FC, useEffect, useMemo, useState } from 'react';
import {