Skip to content
Draft
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
14 changes: 8 additions & 6 deletions components/multimodal-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -437,12 +437,6 @@ function PureMultimodalInput({
))}
</div>
)}
{pdfUploadsDisabled && (
<div className="px-3 text-xs text-muted-foreground">
Grok 4 (Fast) does not support PDF uploads. Switch models to send
PDFs or upload an image instead.
</div>
)}
<div className="flex w-full min-w-0 flex-row gap-2 items-start">
<PromptInputTextarea
data-testid="multimodal-input"
Expand All @@ -467,6 +461,14 @@ function PureMultimodalInput({
selectedModelId={selectedModelId}
pdfUploadsDisabled={pdfUploadsDisabled}
/>
{pdfUploadsDisabled && (
<span
className="text-xs text-muted-foreground hidden sm:inline-block max-w-[60%] truncate"
aria-live="polite"
>
Grok 4 (Fast) does not support PDF uploads. Switch models or upload an image.
</span>
)}
<ReasoningSelectorCompact
reasoningEffort={reasoningEffort}
setReasoningEffort={setReasoningEffort}
Expand Down