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 file metadata gracefully

Steven Enamakel2bf66cbdce3e
diff --git a/app/src/components/assistant-ui/file.tsx b/app/src/components/assistant-ui/file.tsx
index 7352a076b9..c29318d874 100644
--- a/app/src/components/assistant-ui/file.tsx
+++ b/app/src/components/assistant-ui/file.tsx
@@ -12,7 +12,7 @@ import {
MusicIcon,
VideoIcon,
} from 'lucide-react';
-import { type FC, memo } from 'react';
+import { memo } from 'react';
const fileVariants = cva(
'aui-file-root inline-flex items-center gap-3 rounded-lg transition-colors',