mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 10:20:15 +01:00
selected view only agents injected in the drop down
This commit is contained in:
parent
6a28d01b20
commit
94c1f5f518
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