From 85929850dfd7b0a9a2269df7f739dffd108ab3bc Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sun, 18 May 2025 20:34:57 +0000
Subject: feat: Disable the AI summary button if AI is not configured. Fixes
 #649

---
 apps/web/lib/clientConfig.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'apps/web/lib/clientConfig.tsx')

diff --git a/apps/web/lib/clientConfig.tsx b/apps/web/lib/clientConfig.tsx
index ef8e0815..2a66de37 100644
--- a/apps/web/lib/clientConfig.tsx
+++ b/apps/web/lib/clientConfig.tsx
@@ -9,6 +9,7 @@ export const ClientConfigCtx = createContext<ClientConfig>({
     disablePasswordAuth: false,
   },
   inference: {
+    isConfigured: false,
     inferredTagLang: "english",
   },
   serverVersion: undefined,
-- 
cgit v1.2.3-70-g09d2

