Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
Enable desktop file attachments feature (#6989)
Dinh Long Nguyenbb362e4ff0b7
diff --git a/web-app/src/lib/platform/const.ts b/web-app/src/lib/platform/const.tsindex 1d057ad26..f638e2029 100644--- a/web-app/src/lib/platform/const.ts+++ b/web-app/src/lib/platform/const.ts@@ -85,6 +85,7 @@ export const PlatformFeatures: Record<PlatformFeature, boolean> = {// Temporary chat mode - enabled for web only[PlatformFeature.TEMPORARY_CHAT]: !isPlatformTauri(),- // File attachments/RAG UI and tooling - disabled until feature release- [PlatformFeature.FILE_ATTACHMENTS]: false,+ // File attachments/RAG UI and tooling - desktop platforms only+ [PlatformFeature.FILE_ATTACHMENTS]:+ isPlatformTauri() && !isPlatformIOS() && !isPlatformAndroid(),}