diff --git a/ui/components/ChatWindow.tsx b/ui/components/ChatWindow.tsx index 62fa9dce..41a8f901 100644 --- a/ui/components/ChatWindow.tsx +++ b/ui/components/ChatWindow.tsx @@ -10,6 +10,8 @@ import { toast } from 'sonner'; import { useSearchParams } from 'next/navigation'; import { getSuggestions } from '@/lib/actions'; import Error from 'next/error'; +import { Settings } from 'lucide-react'; +import SettingsDialog from './SettingsDialog'; export type Message = { messageId: string; @@ -344,6 +346,8 @@ const ChatWindow = ({ id }: { id?: string }) => { const [notFound, setNotFound] = useState(false); + const [isSettingsOpen, setIsSettingsOpen] = useState(false); + useEffect(() => { if ( chatId && @@ -548,10 +552,19 @@ const ChatWindow = ({ id }: { id?: string }) => { if (hasError) { return ( -
- Failed to connect to the server. Please try again later. -
++ Failed to connect to the server. Please try again later. +
+