diff --git a/ui/litellm-dashboard/src/app/chat/page.tsx b/ui/litellm-dashboard/src/app/chat/page.tsx index 18fc02e7f73..5046f162877 100644 --- a/ui/litellm-dashboard/src/app/chat/page.tsx +++ b/ui/litellm-dashboard/src/app/chat/page.tsx @@ -1,9 +1,11 @@ "use client"; +import { Suspense } from "react"; import useAuthorized from "@/app/(dashboard)/hooks/useAuthorized"; import ChatPage from "@/components/chat/ChatPage"; -const ChatPageRoute = () => { +// ChatPage uses useSearchParams() which requires a Suspense boundary for static export. +const ChatPageContent = () => { const { accessToken, userRole, userId, userEmail } = useAuthorized(); return ( @@ -16,4 +18,10 @@ const ChatPageRoute = () => { ); }; +const ChatPageRoute = () => ( + + + +); + export default ChatPageRoute;