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): handle missing attachment metadata gracefully
Steven Enamakel09d0d63438cf
diff --git a/app/src/components/assistant-ui/attachment.tsx b/app/src/components/assistant-ui/attachment.tsxindex a422132ff3..838b25f7c5 100644--- a/app/src/components/assistant-ui/attachment.tsx+++ b/app/src/components/assistant-ui/attachment.tsx@@ -25,6 +25,7 @@ import {import { AlertCircleIcon, FileText, Loader2Icon, PlusIcon, XIcon } from 'lucide-react';import { type FC, isValidElement, type PropsWithChildren, useEffect, useState } from 'react';import { useShallow } from 'zustand/react/shallow';+import { useT } from '@/lib/i18n/I18nContext';const useFileSrc = (file: File | undefined) => {const [src, setSrc] = useState<string | undefined>(undefined);