Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ const renderLabel = (
isWandEnabled: boolean
isPreview: boolean
isStreaming: boolean
disabled: boolean
onSearchClick: () => void
onSearchBlur: () => void
onSearchChange: (value: string) => void
Expand All @@ -175,6 +176,7 @@ const renderLabel = (
isWandEnabled,
isPreview,
isStreaming,
disabled,
onSearchClick,
onSearchBlur,
onSearchChange,
Expand Down Expand Up @@ -208,7 +210,7 @@ const renderLabel = (
</div>

{/* Wand inline prompt */}
{isWandEnabled && !isPreview && (
{isWandEnabled && !isPreview && !disabled && (
<div className='flex min-w-0 flex-1 items-center justify-end pr-[4px]'>
{!isSearchActive ? (
<Button
Expand Down Expand Up @@ -824,6 +826,7 @@ function SubBlockComponent({
isWandEnabled,
isPreview,
isStreaming: wandControlRef.current?.isWandStreaming ?? false,
disabled: isDisabled,
onSearchClick: handleSearchClick,
onSearchBlur: handleSearchBlur,
onSearchChange: handleSearchChange,
Expand Down