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 &&