diff --git a/src/components/Assistant/ChatContent.tsx b/src/components/Assistant/ChatContent.tsx index 615f5e0b..d21b2792 100644 --- a/src/components/Assistant/ChatContent.tsx +++ b/src/components/Assistant/ChatContent.tsx @@ -3,12 +3,12 @@ import { useTranslation } from "react-i18next"; import { ChatMessage } from "@/components/ChatMessage"; import { Greetings } from "./Greetings"; -import FileList from "@/components/Assistant/FileList"; +// import FileList from "@/components/Assistant/FileList"; import { useChatScroll } from "@/hooks/useChatScroll"; -import { useChatStore } from "@/stores/chatStore"; +// import { useChatStore } from "@/stores/chatStore"; import type { Chat, IChunkData } from "@/types/chat"; import { useConnectStore } from "@/stores/connectStore"; -import SessionFile from "./SessionFile"; +// import SessionFile from "./SessionFile"; import ScrollToBottom from "@/components/Common/ScrollToBottom"; interface ChatContentProps { @@ -43,14 +43,14 @@ export const ChatContent = ({ Question, handleSendMessage, }: ChatContentProps) => { - const sessionId = useConnectStore((state) => state.currentSessionId); + // const sessionId = useConnectStore((state) => state.currentSessionId); const setCurrentSessionId = useConnectStore((state) => { return state.setCurrentSessionId; }); const { t } = useTranslation(); - const uploadFiles = useChatStore((state) => state.uploadFiles); + // const uploadFiles = useChatStore((state) => state.uploadFiles); const messagesEndRef = useRef(null); const { scrollToBottom } = useChatScroll(messagesEndRef); @@ -164,13 +164,13 @@ export const ChatContent = ({
- {uploadFiles.length > 0 && ( + {/* {uploadFiles.length > 0 && (
- )} + )} */} - {sessionId && } + {/* {sessionId && } */} diff --git a/src/components/Search/InputControls.tsx b/src/components/Search/InputControls.tsx index 8023f765..ed2f5a60 100644 --- a/src/components/Search/InputControls.tsx +++ b/src/components/Search/InputControls.tsx @@ -16,7 +16,7 @@ import { useAppStore } from "@/stores/appStore"; import { useSearchStore } from "@/stores/searchStore"; import { useExtensionsStore } from "@/stores/extensionsStore"; import { parseSearchQuery, SearchQuery } from "@/utils"; -import InputUpload from "./InputUpload"; +// import InputUpload from "./InputUpload"; // import AiSummaryIcon from "@/components/Common/Icons/AiSummaryIcon"; interface InputControlsProps { @@ -56,16 +56,16 @@ const InputControls = ({ isChatPage, hasModules, changeMode, - checkScreenPermission, - requestScreenPermission, - getScreenMonitors, - getScreenWindows, - captureWindowScreenshot, - captureMonitorScreenshot, - openFileDialog, - getFileMetadata, - getFileIcon, -}: InputControlsProps) => { +}: // checkScreenPermission, +// requestScreenPermission, +// getScreenMonitors, +// getScreenWindows, +// captureWindowScreenshot, +// captureMonitorScreenshot, +// openFileDialog, +// getFileMetadata, +// getFileIcon, +InputControlsProps) => { const { t } = useTranslation(); const isTauri = useAppStore((state) => state.isTauri); @@ -171,7 +171,7 @@ const InputControls = ({ > {isChatMode ? (
- + /> */} {source?.type === "deep_think" && source?.config?.visible && (