mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 18:30:15 +01:00
selected view only agents injected in the drop down
This commit is contained in:
parent
722e40f276
commit
8ff127aec0
2 changed files with 13 additions and 12 deletions
|
|
@ -433,7 +433,7 @@ const getListAgentsHandler = async (req, res) => {
|
|||
});
|
||||
const publiclyAccessibleIds = await findPubliclyAccessibleResources({
|
||||
resourceType: 'agent',
|
||||
requiredPermissions: requiredPermission,
|
||||
requiredPermissions: PermissionBits.VIEW,
|
||||
});
|
||||
// Use the new ACL-aware function
|
||||
const data = await getListAgentsByAccess({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue