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 image element component
Steven Enamakel19e2e280643a
diff --git a/app/src/components/assistant-ui/elements/image.tsx b/app/src/components/assistant-ui/elements/image.tsxindex 3aeb1010ad..5606a5a7f9 100644--- a/app/src/components/assistant-ui/elements/image.tsx+++ b/app/src/components/assistant-ui/elements/image.tsx@@ -274,17 +274,19 @@ function ImageZoom({ src, alt = 'Image preview', children }: ImageZoomProps) {}function ImageGenerating({ className }: { className?: string }) {+ const { t } = useT();return (<divdata-slot="image-generating"className={cn('bg-muted/50 flex min-h-32 items-center justify-center p-4', className)}><Loader2Icon className="text-muted-foreground size-8 animate-spin" />- <span className="sr-only">Generating image…</span>+ <span className="sr-only">{t('elements.image.generating', 'Generating image…')}</span></div>);}function ImageContentFilterError({ className, reason }: { className?: string; reason?: string }) {+ const { t } = useT();return (<divdata-slot="image-content-filter-error"@@ -293,7 +295,9 @@ function ImageContentFilterError({ className, reason }: { className?: string; reclassName)}><ShieldAlertIcon className="text-muted-foreground size-8" />- <p className="text-sm font-medium">Image could not be generated</p>+ <p className="text-sm font-medium">+ {t('elements.image.generateFailed', 'Image could not be generated')}+ </p>{reason && <p className="text-muted-foreground text-xs">{reason}</p>}</div>);