diff --git a/packages/ui/src/components/prompt-input.tsx b/packages/ui/src/components/prompt-input.tsx index 5a56c0ff..f6295c37 100644 --- a/packages/ui/src/components/prompt-input.tsx +++ b/packages/ui/src/components/prompt-input.tsx @@ -1080,101 +1080,8 @@ export default function PromptInput(props: PromptInputProps) {
- 0}> -
- - {(attachment) => { - const isImage = attachment.mediaType.startsWith("image/") - const textValue = attachment.source.type === "text" ? attachment.source.value : undefined - const isTextAttachment = typeof textValue === "string" - return ( -
- - - - } - > - - - - - } - > - - - - - } - > - {attachment.filename} - - {isTextAttachment ? attachment.display : attachment.filename} - - - - - -
- {attachment.filename} -
-
-
- ) - }} -
-
-
+