From 3972d0ec14a56d4e7eb9dbd32bb059c70a015593 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 24 Sep 2025 19:34:54 +0000 Subject: [PATCH] Refactor PDF upload warning to be more concise Co-authored-by: strictlyethan --- components/multimodal-input.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/components/multimodal-input.tsx b/components/multimodal-input.tsx index 60a39f647d..89b923a9ca 100644 --- a/components/multimodal-input.tsx +++ b/components/multimodal-input.tsx @@ -437,12 +437,6 @@ function PureMultimodalInput({ ))} )} - {pdfUploadsDisabled && ( -
- Grok 4 (Fast) does not support PDF uploads. Switch models to send - PDFs or upload an image instead. -
- )}
+ {pdfUploadsDisabled && ( + + Grok 4 (Fast) does not support PDF uploads. Switch models or upload an image. + + )}