Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix crash

Vishnu Mohandas566361004fb7
diff --git a/web/apps/ensu/src/pages/chat.tsx b/web/apps/ensu/src/pages/chat.tsx
index a52ea334c8..345546f393 100644
--- a/web/apps/ensu/src/pages/chat.tsx
+++ b/web/apps/ensu/src/pages/chat.tsx
@@ -2432,6 +2432,10 @@ const Page: React.FC = () => {
useEffect(() => {
if (!firstPaintDone) return;
+ if (providerRef.current?.getBackendKind() === "tauri") {
+ setModelGateStatus("missing");
+ return;
+ }
const cancelIdle = scheduleIdleTask(() => {
void preloadModelIfAvailable();
}, 2000);