Merge pull request #1767 from arc53/sources-icon-fix-agent-menu

fix: sources icon mini fix
This commit is contained in:
Alex
2025-05-06 01:36:29 +03:00
committed by GitHub

View File

@@ -360,7 +360,7 @@ export default function NewAgent({ mode }: { mode: 'new' | 'edit' | 'draft' }) {
sourceDocs?.map((doc: Doc) => ({
id: doc.id || doc.retriever || doc.name,
label: doc.name,
icon: SourceIcon,
icon: <img src={SourceIcon} alt="" />,
})) || []
}
selectedIds={selectedSourceIds}