diff --git a/ui/components/ChatWindow.tsx b/ui/components/ChatWindow.tsx index 7b2ce88..f9bd583 100644 --- a/ui/components/ChatWindow.tsx +++ b/ui/components/ChatWindow.tsx @@ -318,6 +318,7 @@ const ChatWindow = ({ id }: { id?: string }) => { console.log('[DEBUG] closed'); } }; + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); const messagesRef = useRef([]); diff --git a/ui/components/EmptyChat.tsx b/ui/components/EmptyChat.tsx index 63f186c..6b2412b 100644 --- a/ui/components/EmptyChat.tsx +++ b/ui/components/EmptyChat.tsx @@ -1,4 +1,7 @@ +import { Settings } from 'lucide-react'; import EmptyChatMessageInput from './EmptyChatMessageInput'; +import SettingsDialog from './SettingsDialog'; +import { useState } from 'react'; const EmptyChat = ({ sendMessage, @@ -13,8 +16,17 @@ const EmptyChat = ({ optimizationMode: string; setOptimizationMode: (mode: string) => void; }) => { + const [isSettingsOpen, setIsSettingsOpen] = useState(false); + return (
+ +
+ setIsSettingsOpen(true)} + /> +

Research begins here.