Files
LibreChat/api/server/controllers/agents
Danny Avila f74b346545 fix: edge case for access control of agent listing, added tests
- Refactored `getListAgentsByAccess` to streamline query construction for accessible agents.
- Added comprehensive security tests for `getListAgentsByAccess` and `getListAgentsHandler` to ensure proper access control and filtering based on user permissions.
- Enhanced test coverage for various scenarios, including pagination, category filtering, and handling of non-existent IDs.
2025-08-07 02:57:13 -04:00
..