diff --git a/langgraph/src/main.tsx b/langgraph/src/main.tsx index 4c8e882..e675df2 100644 --- a/langgraph/src/main.tsx +++ b/langgraph/src/main.tsx @@ -19,7 +19,6 @@ import { useConversation } from "@/hooks/useConversation"; import { useConfig } from "@/hooks/useConfig"; import { ChatMessages } from "@/components/ChatMessages"; import { ChatInput } from "@/components/ChatInput"; -import { ConfigPanel } from "@/components/ConfigPanel"; const LANGGRAPH_URL = import.meta.env.VITE_LANGGRAPH_URL ?? "http://localhost:2024"; @@ -34,7 +33,7 @@ function App() { const [showScrollBtn, setShowScrollBtn] = useState(false); const isComposingRef = useRef(false); - const { activeTools, setActiveTools, modelMode, setModelMode, toggleTool } = useConfig(); + const { activeTools, modelMode } = useConfig(); const { threads, setThreads, @@ -55,8 +54,6 @@ function App() { // Source label from card action buttons const [sourceLabel, setSourceLabel] = useState(null); - const configPanelRef = useRef(null); - // Pending retry tool name const pendingRetryToolRef = useRef(null); @@ -406,17 +403,6 @@ function App() { resetLoading={resetLoading} /> - {/* Config panel */} - - {/* Stream status bar */} {concurrentStatus !== "idle" && (