From 6adc8cbedf4aa33002ac6ebfad6ea6a2d8202508 Mon Sep 17 00:00:00 2001 From: MT-Mint <798521692@qq.com> Date: Mon, 15 Jun 2026 09:08:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(suggestionList):=20=E4=BB=85=E5=9C=A8xclaw?= =?UTF-8?q?=E4=B8=AD=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/workspace/input-box.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/workspace/input-box.tsx b/frontend/src/components/workspace/input-box.tsx index dcb7a807..12d39f46 100644 --- a/frontend/src/components/workspace/input-box.tsx +++ b/frontend/src/components/workspace/input-box.tsx @@ -85,6 +85,7 @@ import { } from "@/core/threads/reference-events"; import { useIframeSkill } from "@/hooks/use-iframe-skill"; import { cn } from "@/lib/utils"; +import { useBrand } from "@/core/brand/provider"; import { ModelSelector, @@ -306,6 +307,8 @@ export function InputBox({ } }, [mentionOpen, refetchReferenceFiles]); + const{ brand } = useBrand() + // Welcome 态下禁用收缩,始终保持展开 const effectiveIsFocused = (showWelcomeStyle ?? false) || isFocused || memoryPanelOpen; @@ -1106,14 +1109,13 @@ export function InputBox({ status={status} /> - {/* TODO: 需要在sxwz中隐藏 */} - {/* {shouldShowSuggestionList && ( + {brand === "xclaw" && shouldShowSuggestionList && ( - )} */} + )} {!disabled && !showWelcomeStyle &&