From 0448618fd55348e71d908a419cacf388983599da Mon Sep 17 00:00:00 2001 From: phact Date: Fri, 24 Oct 2025 02:22:35 -0400 Subject: [PATCH] hide toggles unless explicitly enabled --- frontend/src/app/chat/page.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/app/chat/page.tsx b/frontend/src/app/chat/page.tsx index 29f56d49..e8df5b97 100644 --- a/frontend/src/app/chat/page.tsx +++ b/frontend/src/app/chat/page.tsx @@ -25,9 +25,7 @@ import type { } from "./types"; function ChatPage() { - const isDebugMode = - process.env.NODE_ENV === "development" || - process.env.NEXT_PUBLIC_OPENRAG_DEBUG === "true"; + const isDebugMode = process.env.NEXT_PUBLIC_OPENRAG_DEBUG === "true"; const { endpoint, setEndpoint,