Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(assistant-ui): handle missing image source gracefully

Steven Enamakelf46b0e0b5307
diff --git a/app/src/components/assistant-ui/elements/image.tsx b/app/src/components/assistant-ui/elements/image.tsx
index c3a6c04832..a4f90c7457 100644
--- a/app/src/components/assistant-ui/elements/image.tsx
+++ b/app/src/components/assistant-ui/elements/image.tsx
@@ -242,7 +242,7 @@ function ImageZoom({ src, alt = 'Image preview', children }: ImageZoomProps) {
role="button"
tabIndex={0}
className="aui-image-zoom-trigger cursor-zoom-in"
- aria-label="Click to zoom image">
+ aria-label={t('elements.image.zoomAria', 'Click to zoom image')}>
{children}
</div>
{isMounted &&