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 accepted file types in AI chat constants to allow all MIME types

Salman-Ahamede4196a0f9e11
diff --git a/packages/app/src/react/features/ai-chat/constants/index.ts b/packages/app/src/react/features/ai-chat/constants/index.ts
index ee2a45ba..07935b2f 100644
--- a/packages/app/src/react/features/ai-chat/constants/index.ts
+++ b/packages/app/src/react/features/ai-chat/constants/index.ts
@@ -1,15 +1,6 @@
export const CHAT_ACCEPTED_FILE_TYPES = {
- 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,
+ mime: ['*/*'] as const,
+ input: '*/*' as const,
} as const;
export const CHAT_ERROR_MESSAGE =