diff --git a/src/app/chat/ChatHeader.tsx b/src/app/chat/ChatHeader.tsx index dbe525e..c395d1a 100644 --- a/src/app/chat/ChatHeader.tsx +++ b/src/app/chat/ChatHeader.tsx @@ -1,7 +1,5 @@ import {Loader2, MoreHorizontal, Pencil, PanelLeftOpen, PanelLeftClose, Share2} from "lucide-react"; import {useConversationQuery} from "@/hooks/useAiChatQuery"; -import {useChatPage} from "./ChatPageContext"; -import {ChatModelSelector} from "./ChatModelSelector"; interface ChatHeaderProps { conversationId: string | null; @@ -12,7 +10,6 @@ interface ChatHeaderProps { export function ChatHeader({conversationId, isStreaming, isSidebarCollapsed, onToggleSidebar}: ChatHeaderProps) { const {data: conversation} = useConversationQuery(conversationId || ""); - const {selectedModel, setSelectedModel} = useChatPage(); const title = conversation?.title || "New Chat"; @@ -51,11 +48,6 @@ export function ChatHeader({conversationId, isStreaming, isSidebarCollapsed, onT
- {conversationId && ( <>