LibreChat/api/app/clients/tools/util
Danny Avila 39f4e725e5
refactor: Implement file access filtering based on agent permissions
- Introduced `filterFilesByAgentAccess` function to filter files based on user access through agents.
- Updated `getFiles` and `primeFiles` functions to utilize the new filtering logic.
- Moved `hasAccessToFilesViaAgent` function from the File model to permission services, adjusting imports accordingly
- Enhanced tests to ensure proper access control and filtering behavior for files associated with agents.
2025-07-19 18:42:54 -04:00
..
fileSearch.js refactor: Implement file access filtering based on agent permissions 2025-07-19 18:42:54 -04:00
handleOpenAIErrors.js 🔧 refactor: Improve Agent Context & Minor Fixes (#5349) 2025-01-17 12:55:48 -05:00
handleTools.js 🔥 feat: Add Firecrawl Scraper Configurability (#8495) 2025-07-18 22:37:57 -04:00
handleTools.test.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
index.js 🔍 feat: Mistral OCR API / Upload Files as Text (#6274) 2025-03-10 17:23:46 -04:00