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.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
Enhance file type support in AI chat by adding CSV and Excel formats
Salman-Ahamedb51d99b6c2c9
diff --git a/packages/app/src/react/features/ai-chat/constants/index.ts b/packages/app/src/react/features/ai-chat/constants/index.tsindex 77041a07..4ecf282a 100644--- a/packages/app/src/react/features/ai-chat/constants/index.ts+++ b/packages/app/src/react/features/ai-chat/constants/index.ts@@ -1,6 +1,15 @@export const CHAT_ACCEPTED_FILE_TYPES = {- mime: ['image/*', 'application/pdf', 'text/plain'] as const,- input: 'image/*,.pdf,application/pdf,.txt,text/plain' as const,+ mime: [+ 'image/*',+ 'application/pdf',+ 'text/plain',+ 'text/csv',+ 'application/csv',+ 'application/vnd.ms-excel',+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',+ ] as const,+ input:+ 'image/*,.pdf,application/pdf,.txt,text/plain,.csv,text/csv,application/csv,.xls,application/vnd.ms-excel,.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' as const,} as const;export const CHAT_ERROR_MESSAGE =