From 059ec40845911d0e64341b8d427aa3357e93b8be Mon Sep 17 00:00:00 2001 From: gongzhiyong Date: Wed, 15 Apr 2026 01:31:47 +0800 Subject: [PATCH] feat(ui): remove tool selection chips from below input area ConfigPanel (model mode + tool group chips) is no longer rendered in the chat layout. Tool selection was surfaced below the input after the previous refactor but users found it visually noisy. activeTools still drives tool filtering on submit; UI selection can be re-exposed later via a dedicated settings entry point. Co-Authored-By: Claude Sonnet 4.6 --- langgraph/src/main.tsx | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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" && (