This commit is contained in:
Fahleen Arif 2026-04-04 23:37:11 +00:00 committed by GitHub
commit bec2280de3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 68 additions and 7 deletions

View file

@ -143,13 +143,15 @@ export default function useSideNavLinks({
});
}
links.push({
title: 'com_sidepanel_attach_files',
label: '',
icon: AttachmentIcon,
id: 'files',
Component: FilesPanel,
});
if (interfaceConfig.attachFiles !== false) {
links.push({
title: 'com_sidepanel_attach_files',
label: '',
icon: AttachmentIcon,
id: 'files',
Component: FilesPanel,
});
}
if (hasAccessToBookmarks) {
links.push({
@ -195,6 +197,7 @@ export default function useSideNavLinks({
hasAccessToMemories,
hasAccessToReadMemories,
interfaceConfig.parameters,
interfaceConfig.attachFiles,
endpointType,
hasAccessToBookmarks,
availableMCPServers,