Skip to content

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

fix(assistant-ui): remove unused attachment component import

Steven Enamakel94e5e94624cb
diff --git a/app/src/components/assistant-ui/attachment.tsx b/app/src/components/assistant-ui/attachment.tsx
index a85a03561c..b12381ea4a 100644
--- a/app/src/components/assistant-ui/attachment.tsx
+++ b/app/src/components/assistant-ui/attachment.tsx
@@ -243,6 +243,7 @@ export const ComposerAttachments: FC = () => {
};
export const ComposerAddAttachment: FC = () => {
+ const { t } = useT();
return (
<ComposerPrimitive.AddAttachment
render={
@@ -252,7 +253,7 @@ export const ComposerAddAttachment: FC = () => {
variant="ghost"
size="icon"
className="aui-composer-add-attachment text-muted-foreground hover:text-foreground hover:bg-muted-foreground/15 dark:border-muted-foreground/15 dark:hover:bg-muted-foreground/30 size-7 rounded-full active:scale-[0.96] motion-reduce:transition-none"
- aria-label="Add Attachment"
+ aria-label={t('attachment.addAria', 'Add Attachment')}
/>
}>
<PlusIcon className="aui-attachment-add-icon size-4" />
diff --git a/app/src/components/assistant-ui/thread-list.tsx b/app/src/components/assistant-ui/thread-list.tsx
index 23b3c0a0c1..920665c8d3 100644
--- a/app/src/components/assistant-ui/thread-list.tsx
+++ b/app/src/components/assistant-ui/thread-list.tsx
@@ -205,7 +205,7 @@ const ThreadListItemGroups: FC<{ searchQuery?: string }> = ({ searchQuery = '' }
if (query && filteredIndices.length === 0) {
return (
<div data-slot="aui_thread-list-empty" className="text-muted-foreground px-2.5 py-4 text-sm">
- No threads found
+ {t('assistantUi.threadList.noThreadsFound', 'No threads found')}
</div>
);
}