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.

Fix file type error message formatting in AI chat utility

Salman-Ahamed037f58a8366f
diff --git a/packages/app/src/react/features/ai-chat/utils/file.ts b/packages/app/src/react/features/ai-chat/utils/file.ts
index 68dda650..dfdd837c 100644
--- a/packages/app/src/react/features/ai-chat/utils/file.ts
+++ b/packages/app/src/react/features/ai-chat/utils/file.ts
@@ -101,7 +101,7 @@ export const validateSingleFile = (file: File): string | null => {
});
if (!isValidType) {
- return 'File type not supported.';
+ return 'File type not supported';
}
return null;