The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(assistant-ui): remove unused attachment component
Steven Enamakel7c310a794b1c
diff --git a/app/src/components/assistant-ui/attachment.tsx b/app/src/components/assistant-ui/attachment.tsxindex 838b25f7c5..4261e271c0 100644--- a/app/src/components/assistant-ui/attachment.tsx+++ b/app/src/components/assistant-ui/attachment.tsx@@ -64,11 +64,12 @@ const useAttachmentSrc = () => {type AttachmentPreviewProps = { src: string };const AttachmentPreview: FC<AttachmentPreviewProps> = ({ src }) => {+ const { t } = useT();const [isLoaded, setIsLoaded] = useState(false);return (<imgsrc={src}- alt="Attachment preview"+ alt={t('attachment.previewAlt', 'Attachment preview')}className={cn('block h-auto max-h-[80vh] w-auto max-w-full rounded-sm object-contain transition-opacity duration-300 motion-reduce:transition-none',isLoaded