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.

Add CSV file type support in file item preview

Salman-Ahamedccbda85148de
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 46f8a491..4b23d329 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
@@ -31,6 +31,7 @@ const FILE_ICONS = {
docx: <FaRegFileWord {...commonProps} />,
xls: <FaRegFileExcel {...commonProps} />,
xlsx: <FaRegFileExcel {...commonProps} />,
+ csv: <FaRegFileExcel {...commonProps} />,
mp3: <FaRegFileAudio {...commonProps} />,
wav: <FaRegFileAudio {...commonProps} />,
ogg: <FaRegFileAudio {...commonProps} />,