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
..
__tests__ 🤖 fix: Remove versions and __v when Duplicating an Agent (#8115) 2025-06-28 12:35:41 -04:00
callbacks.js 🔗 fix: File Citation Processing to Use Tool Artifacts 2025-08-07 02:57:07 -04:00
client.js 🔗 fix: File Citation Processing to Use Tool Artifacts 2025-08-07 02:57:07 -04:00
client.test.js ✂️ fix: Remove Image Payloads from Memory Processing (#8770) 2025-07-30 15:54:33 -04:00
errors.js 🔧 fix: Assistants API SDK calls to match Updated Arguments (#8818) 2025-08-02 12:19:58 -04:00
request.js ♻️ fix: Correct Message ID Assignment Logic (#8439) 2025-07-14 00:57:20 -04:00
v1.js WIP: add user role check optimization to user principal check, update type comparisons 2025-08-07 02:57:10 -04:00
v1.spec.js fix: edge case for access control of agent listing, added tests 2025-08-07 02:57:13 -04:00